added openssl to root cmake file

This commit is contained in:
cryptozoidberg 2023-01-11 17:56:56 +01:00
parent a95c56f20e
commit b21823cc95
No known key found for this signature in database
GPG key ID: 22DEB97A54C6FDEC

View file

@ -69,6 +69,9 @@ if(TESTNET)
add_definitions(-DTESTNET)
endif()
set(OPENSSL_USE_STATIC_LIBS TRUE) # link statically
find_package(OpenSSL REQUIRED)
if(DISABLE_TOR)
message("NOTICE: Building with disabled TOR support!")
add_definitions(-DDISABLE_TOR)