From b21823cc952a851eecb0e03dcd2b8139d151e538 Mon Sep 17 00:00:00 2001 From: cryptozoidberg Date: Wed, 11 Jan 2023 17:56:56 +0100 Subject: [PATCH] added openssl to root cmake file --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 99243a7d..3f183c8e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)