#6556 Changed ssl libs to static linking

This commit is contained in:
Jamie Newbon
2019-10-14 13:41:23 +01:00
parent 363355bca3
commit f0d7b66958

View File

@@ -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")