summaryrefslogtreecommitdiff
path: root/monero_libwallet2_api_c
diff options
context:
space:
mode:
authorCzarek Nakamoto <cyjan@mrcyjanek.net>2024-12-06 06:39:08 -0600
committerCzarek Nakamoto <cyjan@mrcyjanek.net>2024-12-06 06:39:08 -0600
commit0cd78fdb8a03cc1cfbb4ec0a4d26158626fc7d4e (patch)
tree4c67bcc17a84e2a8a026a44030714a45275c8117 /monero_libwallet2_api_c
parentd70685a2deab5ae38d70f99c6a57a25475062e43 (diff)
fix zano build
Diffstat (limited to 'monero_libwallet2_api_c')
-rw-r--r--monero_libwallet2_api_c/CMakeLists.txt16
-rw-r--r--monero_libwallet2_api_c/src/main/cpp/helpers.hpp1
2 files changed, 15 insertions, 2 deletions
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
diff --git a/monero_libwallet2_api_c/src/main/cpp/helpers.hpp b/monero_libwallet2_api_c/src/main/cpp/helpers.hpp
index 2c64394..83cf33b 100644
--- a/monero_libwallet2_api_c/src/main/cpp/helpers.hpp
+++ b/monero_libwallet2_api_c/src/main/cpp/helpers.hpp
@@ -3,6 +3,7 @@
#include <set>
#include <sstream>
#include <cstdlib>
+#include <iostream>
// Debug macros
#define DEBUG_START() \