mirror of
https://github.com/xmrig/xmrig.git
synced 2024-12-22 11:39:33 +00:00
Fix OpenSSL static link when BUILD_STATIC=ON is provided
This commit is contained in:
parent
f9c65f3bbf
commit
89e6998054
1 changed files with 5 additions and 0 deletions
|
@ -10,6 +10,11 @@ if (WITH_TLS)
|
|||
set(OPENSSL_USE_STATIC_LIBS TRUE)
|
||||
endif()
|
||||
|
||||
if (BUILD_STATIC)
|
||||
set(OPENSSL_USE_STATIC_LIBS TRUE)
|
||||
endif()
|
||||
|
||||
|
||||
find_package(OpenSSL)
|
||||
|
||||
if (OPENSSL_FOUND)
|
||||
|
|
Loading…
Reference in a new issue