diff --git a/Crypto/cmake/PocoCryptoConfig.cmake b/Crypto/cmake/PocoCryptoConfig.cmake index fe147f3af..d2cf30cc6 100644 --- a/Crypto/cmake/PocoCryptoConfig.cmake +++ b/Crypto/cmake/PocoCryptoConfig.cmake @@ -1,3 +1,4 @@ include(CMakeFindDependencyMacro) find_dependency(PocoFoundation) +find_dependency(OpenSSL REQUIRED COMPONENTS Crypto) include("${CMAKE_CURRENT_LIST_DIR}/PocoCryptoTargets.cmake") diff --git a/NetSSL_OpenSSL/cmake/PocoNetSSLConfig.cmake b/NetSSL_OpenSSL/cmake/PocoNetSSLConfig.cmake index fa52ce0c6..0f5aa369b 100644 --- a/NetSSL_OpenSSL/cmake/PocoNetSSLConfig.cmake +++ b/NetSSL_OpenSSL/cmake/PocoNetSSLConfig.cmake @@ -3,4 +3,5 @@ find_dependency(PocoFoundation) find_dependency(PocoUtil) find_dependency(PocoNet) find_dependency(PocoCrypto) +find_dependency(OpenSSL REQUIRED COMPONENTS SSL) include("${CMAKE_CURRENT_LIST_DIR}/PocoNetSSLTargets.cmake")