From f0d7b669581a3889da79716666d0927115f13dac Mon Sep 17 00:00:00 2001 From: Jamie Newbon Date: Mon, 14 Oct 2019 13:41:23 +0100 Subject: [PATCH] #6556 Changed ssl libs to static linking --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index e162d631..d5d09866 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -305,6 +305,7 @@ elseif (${CMAKE_SYSTEM_NAME} MATCHES "Darwin") ${OPENSSL_ROOT}/lib/libcrypto.a ) elseif (${CMAKE_SYSTEM_NAME} MATCHES "Linux") + set(OPENSSL_USE_STATIC_LIBS TRUE) set (OPENSSL_LIBS ssl crypto) else() message (FATAL_ERROR "Couldn't find OpenSSL")