mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-06-25 08:21:36 +02:00
All required dependencies of a package must also be found in the package configuration file. Consumers of wolfSSL can't know if it was built with or without threads support. This change adds find_package(Threads) lookup in the file used for find_package(wolfssl) if wolfSSL was built with threads support.
10 lines
169 B
CMake
10 lines
169 B
CMake
@PACKAGE_INIT@
|
|
|
|
include(CMakeFindDependencyMacro)
|
|
if (@HAVE_PTHREAD@)
|
|
find_dependency(Threads)
|
|
endif()
|
|
|
|
|
|
include ( "${CMAKE_CURRENT_LIST_DIR}/wolfssl-targets.cmake" )
|