From d04823d069b246103aca7f1967b9283c3f1d4a1d Mon Sep 17 00:00:00 2001 From: cyan Date: Thu, 14 Nov 2024 13:39:37 +0000 Subject: some more build issue --- monero_libwallet2_api_c/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'monero_libwallet2_api_c') 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) -- cgit v1.2.3