mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-06 13:22:36 +08:00
#6556 Changed ssl libs to static linking
This commit is contained in:
@@ -305,6 +305,7 @@ elseif (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
|||||||
${OPENSSL_ROOT}/lib/libcrypto.a
|
${OPENSSL_ROOT}/lib/libcrypto.a
|
||||||
)
|
)
|
||||||
elseif (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
elseif (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
||||||
|
set(OPENSSL_USE_STATIC_LIBS TRUE)
|
||||||
set (OPENSSL_LIBS ssl crypto)
|
set (OPENSSL_LIBS ssl crypto)
|
||||||
else()
|
else()
|
||||||
message (FATAL_ERROR "Couldn't find OpenSSL")
|
message (FATAL_ERROR "Couldn't find OpenSSL")
|
||||||
|
|||||||
Reference in New Issue
Block a user