mirror of
https://github.com/xmrig/xmrig.git
synced 2024-12-23 03:59:41 +00:00
Fix gcc build with OpenSSL 1.1.1
This commit is contained in:
parent
1059189e2c
commit
a2d2c0418d
1 changed files with 4 additions and 0 deletions
|
@ -11,6 +11,10 @@ if (WITH_TLS)
|
|||
else()
|
||||
message(FATAL_ERROR "OpenSSL NOT found: use `-DWITH_TLS=OFF` to build without TLS support")
|
||||
endif()
|
||||
|
||||
if (WIN32)
|
||||
set(EXTRA_LIBS ${EXTRA_LIBS} Crypt32)
|
||||
endif()
|
||||
else()
|
||||
set(TLS_SOURCES "")
|
||||
set(OPENSSL_LIBRARIES "")
|
||||
|
|
Loading…
Reference in a new issue