Use static OpenSSL libs on macOS.

This commit is contained in:
XMRig
2019-11-16 18:56:34 +07:00
parent 13d47e5166
commit 82fa9e6dcf

View File

@@ -6,6 +6,8 @@ if (WITH_TLS)
set(OPENSSL_MSVC_STATIC_RT TRUE)
set(EXTRA_LIBS ${EXTRA_LIBS} Crypt32)
elseif (APPLE)
set(OPENSSL_USE_STATIC_LIBS TRUE)
endif()
find_package(OpenSSL)