Fix gcc build with OpenSSL 1.1.1

This commit is contained in:
XMRig 2018-09-17 01:43:44 +03:00
parent 1059189e2c
commit a2d2c0418d

View file

@ -11,6 +11,10 @@ if (WITH_TLS)
else() else()
message(FATAL_ERROR "OpenSSL NOT found: use `-DWITH_TLS=OFF` to build without TLS support") message(FATAL_ERROR "OpenSSL NOT found: use `-DWITH_TLS=OFF` to build without TLS support")
endif() endif()
if (WIN32)
set(EXTRA_LIBS ${EXTRA_LIBS} Crypt32)
endif()
else() else()
set(TLS_SOURCES "") set(TLS_SOURCES "")
set(OPENSSL_LIBRARIES "") set(OPENSSL_LIBRARIES "")