summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-02-11 14:10:55 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-02-11 14:10:55 +0100
commitd81fe9c5fd4fa54ecb821d627a030c6c1c81ed8a (patch)
tree72a25c4f134b3433daba1c682b2fcdd973a5ab0e
parented37ec21bf5464d77eccaf29ce3dda54107f9f48 (diff)
cmake: lessen msvc logspam
-rw-r--r--cmake/msvc.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/msvc.cmake b/cmake/msvc.cmake
index cf3bb0cb..61c0c6d7 100644
--- a/cmake/msvc.cmake
+++ b/cmake/msvc.cmake
@@ -34,6 +34,7 @@ set(CMAKE_GENERATOR "Ninja")
#add_compile_options(-Qvec-report:2)
#add_compile_options(-d2cgsummary)
add_definitions(-D_HAS_EXCEPTIONS=0)
+add_definitions(-D_SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING)
if(DEFINED CMAKE_TOOLCHAIN_FILE)
# ignore cmake warning: Manually-specified variable not used by the project