forked from wolfSSL/wolfssl
Merge pull request #8162 from redbaron/find-threads
CMAKE: look for pthreads when importing wolfSSL if required
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
@PACKAGE_INIT@
|
@PACKAGE_INIT@
|
||||||
|
|
||||||
|
include(CMakeFindDependencyMacro)
|
||||||
|
if (@HAVE_PTHREAD@)
|
||||||
|
find_dependency(Threads)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
||||||
include ( "${CMAKE_CURRENT_LIST_DIR}/wolfssl-targets.cmake" )
|
include ( "${CMAKE_CURRENT_LIST_DIR}/wolfssl-targets.cmake" )
|
||||||
|
Reference in New Issue
Block a user