From 0cd78fdb8a03cc1cfbb4ec0a4d26158626fc7d4e Mon Sep 17 00:00:00 2001 From: Czarek Nakamoto Date: Fri, 6 Dec 2024 06:39:08 -0600 Subject: fix zano build --- monero_libwallet2_api_c/CMakeLists.txt | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'monero_libwallet2_api_c/CMakeLists.txt') diff --git a/monero_libwallet2_api_c/CMakeLists.txt b/monero_libwallet2_api_c/CMakeLists.txt index 199a71b..9cb27a9 100644 --- a/monero_libwallet2_api_c/CMakeLists.txt +++ b/monero_libwallet2_api_c/CMakeLists.txt @@ -112,7 +112,19 @@ if (${MONERO_FLAVOR} STREQUAL "monero") elseif(${MONERO_FLAVOR} STREQUAL "wownero") set(WALLET_TARGETS wallet_api ${wallet_api_LIB_DEPENDS}) # wallet_api_LIB_DEPENDS elseif(${MONERO_FLAVOR} STREQUAL "zano") - set(WALLET_TARGETS wallet ${wallet_LIB_DEPENDS}) + find_package(Boost 1.71 REQUIRED COMPONENTS system filesystem thread timer date_time chrono regex serialization atomic program_options) + find_package(OpenSSL REQUIRED) + set(WALLET_TARGETS + wallet + general + tor-connect + crypto + currency_core + common + zlibstatic + + ${Boost_LIBRARIES} + ${OpenSSL_LIBRARIES}) endif() if(${MONERO_FLAVOR} STREQUAL "wownero") @@ -125,7 +137,7 @@ endif() #foreach (_variableName ${_variableNames}) # message(STATUS "${_variableName}=${${_variableName}}") #endforeach() -#message(SEND_ERROR noooo) +# message(SEND_ERROR "${Boost_LIBRARIES}") target_link_libraries( wallet2_api_c -- cgit v1.2.3