diff options
| author | Czarek Nakamoto <cyjan@mrcyjanek.net> | 2024-03-27 15:46:01 +0100 |
|---|---|---|
| committer | Czarek Nakamoto <cyjan@mrcyjanek.net> | 2024-03-27 15:46:01 +0100 |
| commit | 04d02626863144a69caf5c821502c91093b7de58 (patch) | |
| tree | 9705066cbe5610f95e669a47cfcc8cd5cc7a5048 /libbridge/CMakeLists.txt | |
| parent | b2ce0ed438038ca8c6dfb8368579d351d721eb52 (diff) | |
fix wownero coin control
use proper headers
properly apply patches
Diffstat (limited to 'libbridge/CMakeLists.txt')
| -rw-r--r-- | libbridge/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
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 |
