From 8f85ca05ce6e90cfca0132cc9f3f9691a3c9429a Mon Sep 17 00:00:00 2001 From: Vladimir Chebotarev Date: Fri, 7 Dec 2018 18:00:51 +0300 Subject: [PATCH] Poco should not call `find_library(OpenSSL)` when USE_INTERNAL_SSL_LIBRARY. [#METR-21516] (#3781) * Poco should not call `find_library(OpenSSL)` when USE_INTERNAL_SSL_LIBRARY. [#METR-21516] * Minor fix. --- contrib/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/CMakeLists.txt b/contrib/CMakeLists.txt index fc4413aff26..3eb7970d3d1 100644 --- a/contrib/CMakeLists.txt +++ b/contrib/CMakeLists.txt @@ -110,6 +110,7 @@ if (USE_INTERNAL_SSL_LIBRARY) add_subdirectory (ssl) target_include_directories(${OPENSSL_CRYPTO_LIBRARY} SYSTEM PUBLIC ${OPENSSL_INCLUDE_DIR}) target_include_directories(${OPENSSL_SSL_LIBRARY} SYSTEM PUBLIC ${OPENSSL_INCLUDE_DIR}) + set (POCO_SKIP_OPENSSL_FIND 1) endif () if (ENABLE_MYSQL AND USE_INTERNAL_MYSQL_LIBRARY)