This allows for the non-primary library to be missing in the Config.cmake file, e.g. if the devel files have a separate static-devel package Signed-off-by: Cristian Le <git@lecris.dev>
14 lines
363 B
CMake
14 lines
363 B
CMake
@PACKAGE_INIT@
|
|
|
|
include(CMakeFindDependencyMacro)
|
|
if(@ZSTD_MULTITHREAD_SUPPORT@ AND "@UNIX@")
|
|
find_dependency(Threads)
|
|
endif()
|
|
|
|
foreach(lib_suffix IN ITEMS "_shared" "_static")
|
|
include("${CMAKE_CURRENT_LIST_DIR}/zstdTargets${lib_suffix}.cmake" OPTIONAL)
|
|
endforeach()
|
|
include("${CMAKE_CURRENT_LIST_DIR}/zstdTargets.cmake")
|
|
|
|
check_required_components("zstd")
|