From d81fe9c5fd4fa54ecb821d627a030c6c1c81ed8a Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 11 Feb 2024 14:10:55 +0100 Subject: cmake: lessen msvc logspam --- cmake/msvc.cmake | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3