added openssl to root cmake file
This commit is contained in:
parent
a95c56f20e
commit
b21823cc95
1 changed files with 3 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue