mirror of
https://github.com/xmrig/xmrig.git
synced 2025-03-12 09:37:35 +00:00
Use static OpenSSL libs on macOS.
This commit is contained in:
parent
ca77fda511
commit
fb28b931cc
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue