From d348fa3020f2d39627ba9787b07564c033878b99 Mon Sep 17 00:00:00 2001 From: Stephane Janel Date: Sun, 17 Nov 2024 13:02:53 +0100 Subject: [PATCH] Remove annoying Windows warning --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index faa95785..4b3ddb19 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -246,6 +246,7 @@ if(MSVC) # https://stackoverflow.com/questions/5004858/why-is-stdmin-failing-when-windows-h-is-included add_compile_definitions(NOMINMAX) add_compile_definitions(_SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING) + add_compile_definitions(_SILENCE_CXX23_ALIGNED_STORAGE_DEPRECATION_WARNING) else() if(CCT_ENABLE_ASAN) if (NOT CCT_ASAN_OPTIONS)