From b4ee4b9f304547aa82ee5105b8ad03aea7d0f572 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnter=20Obiltschnig?= Date: Tue, 15 Jun 2021 14:49:38 +0200 Subject: [PATCH] #3157: fix(openssl): add missing dependency to OpenSSL components --- Crypto/cmake/PocoCryptoConfig.cmake | 1 + NetSSL_OpenSSL/cmake/PocoNetSSLConfig.cmake | 1 + 2 files changed, 2 insertions(+) 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")