From 04d02626863144a69caf5c821502c91093b7de58 Mon Sep 17 00:00:00 2001 From: Czarek Nakamoto Date: Wed, 27 Mar 2024 15:46:01 +0100 Subject: fix wownero coin control use proper headers properly apply patches --- libbridge/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libbridge/CMakeLists.txt') diff --git a/libbridge/CMakeLists.txt b/libbridge/CMakeLists.txt index d2f3cfa..620577f 100644 --- a/libbridge/CMakeLists.txt +++ b/libbridge/CMakeLists.txt @@ -277,6 +277,11 @@ if(${HOST_ABI} STREQUAL "x86_64-w64-mingw32" OR ${HOST_ABI} STREQUAL "i686-w64-m set(EXTRA_LIBS_WINDOWS wsock32 ws2_32 iconv iphlpapi crypt32 hidapi) endif() +if (${MONERO_FLAVOR} STREQUAL "monero") + target_compile_definitions(wallet2_api_c PRIVATE FLAVOR_MONERO) +elseif(${MONERO_FLAVOR} STREQUAL "wownero") + target_compile_definitions(wallet2_api_c PRIVATE FLAVOR_WOWNERO) +endif() target_link_libraries( wallet2_api_c -- cgit v1.2.3