From adb8ff80d2e38a9249f8380c1b02d2d88affe55e Mon Sep 17 00:00:00 2001 From: Andrej Valek Date: Wed, 2 Dec 2020 13:37:42 +0100 Subject: [PATCH] fix(openssl): add missing dependency to OpenSSL components Signed-off-by: Andrej Valek --- Crypto/cmake/PocoCryptoConfig.cmake | 1 + NetSSL_OpenSSL/cmake/PocoNetSSLConfig.cmake | 1 + NetSSL_Win/cmake/PocoNetSSLWinConfig.cmake | 1 + 3 files changed, 3 insertions(+) diff --git a/Crypto/cmake/PocoCryptoConfig.cmake b/Crypto/cmake/PocoCryptoConfig.cmake index fe147f3afd..d2cf30cc6e 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 fa52ce0c61..0f5aa369b1 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") diff --git a/NetSSL_Win/cmake/PocoNetSSLWinConfig.cmake b/NetSSL_Win/cmake/PocoNetSSLWinConfig.cmake index a24d36c72b..37da2d51b4 100644 --- a/NetSSL_Win/cmake/PocoNetSSLWinConfig.cmake +++ b/NetSSL_Win/cmake/PocoNetSSLWinConfig.cmake @@ -2,4 +2,5 @@ include(CMakeFindDependencyMacro) find_dependency(PocoFoundation) find_dependency(PocoUtil) find_dependency(PocoNet) +find_dependency(OpenSSL REQUIRED COMPONENTS SSL) include("${CMAKE_CURRENT_LIST_DIR}/PocoNetSSLWinTargets.cmake")