diff --git a/CMakeLists.txt b/CMakeLists.txt index 75855d2a..5ac713b3 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")