From 909cdfcf3e98df51e8526d8d93164d95fd8b391b Mon Sep 17 00:00:00 2001 From: Colin LeMahieu Date: Tue, 29 Oct 2024 04:40:08 +0000 Subject: [PATCH] Suppress iterator warning on windows. --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5b93fac65..4da28f153 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,6 +35,8 @@ endif() if(MSVC) add_definitions(/MP) + add_definitions( + -D_SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING) # Suppress iterator warning endif() set(CPACK_PACKAGE_VENDOR "Nano Currency")