diff options
| author | cyan <cyjan@mrcyjanek.net> | 2024-11-14 13:39:37 +0000 |
|---|---|---|
| committer | cyan <cyjan@mrcyjanek.net> | 2024-11-14 13:39:37 +0000 |
| commit | d04823d069b246103aca7f1967b9283c3f1d4a1d (patch) | |
| tree | 691e5455377da64424357591edf37fb44d29f899 /monero_libwallet2_api_c | |
| parent | 0a985ad7f8b7be12de9758246b3524969a8bb846 (diff) | |
some more build issue
Diffstat (limited to 'monero_libwallet2_api_c')
| -rw-r--r-- | monero_libwallet2_api_c/CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/monero_libwallet2_api_c/CMakeLists.txt b/monero_libwallet2_api_c/CMakeLists.txt index 37c739d..8dd22ce 100644 --- a/monero_libwallet2_api_c/CMakeLists.txt +++ b/monero_libwallet2_api_c/CMakeLists.txt @@ -48,6 +48,12 @@ set(EXTERNAL_LIBS_DIR ${CMAKE_SOURCE_DIR}/../contrib/depends/${HOST_ABI}) find_package(PkgConfig REQUIRED) +if(MINGW) + set(WARNINGS "${WARNINGS} -Wno-error=unused-value -Wno-error=unused-but-set-variable") + set(MINGW_FLAG "${MINGW_FLAG} -DWIN32_LEAN_AND_MEAN") + set(Boost_THREADAPI win32) +endif() + find_package(Boost REQUIRED COMPONENTS chrono filesystem program_options system thread date_time regex serialization locale) |
