Use static OpenSSL libs on macOS.

This commit is contained in:
XMRig 2019-11-16 18:56:34 +07:00
parent ca77fda511
commit fb28b931cc

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)