diff options
| author | Czarek Nakamoto <cyjan@mrcyjanek.net> | 2024-05-23 08:03:35 +0200 |
|---|---|---|
| committer | Czarek Nakamoto <cyjan@mrcyjanek.net> | 2024-05-23 08:03:35 +0200 |
| commit | c4b28a6a62388c5ad4004962edb43cadbfba5ddb (patch) | |
| tree | 8000416de4c3fd40459697e6171da99454b76502 /monero_libwallet2_api_c/CMakeLists.txt | |
| parent | d41f4fd6d07d6a1a812f2f39ab893dcdc8df51d0 (diff) | |
-DCMAKE_SYSTEM_VERSION=1
is the workaround to update to newer ndk without breaking the entire build system
Diffstat (limited to 'monero_libwallet2_api_c/CMakeLists.txt')
| -rw-r--r-- | monero_libwallet2_api_c/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/monero_libwallet2_api_c/CMakeLists.txt b/monero_libwallet2_api_c/CMakeLists.txt index d6dd7b5..e9691b7 100644 --- a/monero_libwallet2_api_c/CMakeLists.txt +++ b/monero_libwallet2_api_c/CMakeLists.txt @@ -306,8 +306,7 @@ include_directories( ${EXTERNAL_LIBS_DIR}/include ) message(STATUS EXTERNAL_LIBS_DIR : ${EXTERNAL_LIBS_DIR}) if(${HOST_ABI} STREQUAL "x86_64-linux-gnu" OR - ${HOST_ABI} STREQUAL "x86_64-apple-darwin11" OR - ${HOST_ABI} STREQUAL "x86_64-linux-android") + ${HOST_ABI} STREQUAL "x86_64-apple-darwin11") set(EXTRA_LIBS "wallet-crypto") else() set(EXTRA_LIBS "") @@ -349,6 +348,7 @@ endif() if (${MONERO_FLAVOR} STREQUAL "monero") target_compile_definitions(wallet2_api_c PRIVATE FLAVOR_MONERO) + set(BCUR_ENABLED bc-ur) elseif(${MONERO_FLAVOR} STREQUAL "wownero") target_compile_definitions(wallet2_api_c PRIVATE FLAVOR_WOWNERO) endif() @@ -414,7 +414,7 @@ target_link_libraries( wallet2_api_c ${EXTRA_LIBS_WOWNEROSEED} utf8proc - bc-ur + ${BCUR_ENABLED} ssl crypto |
