From 5841d76b30f06d1bd0c309e7e5dd1792ba57fe7f Mon Sep 17 00:00:00 2001 From: Chuck Walbourn Date: Thu, 23 Apr 2026 22:58:38 -0700 Subject: [PATCH] CMake update for v4.1 change --- build/CompilerAndLinker.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/CompilerAndLinker.cmake b/build/CompilerAndLinker.cmake index a315906b..8535f0fb 100644 --- a/build/CompilerAndLinker.cmake +++ b/build/CompilerAndLinker.cmake @@ -141,7 +141,7 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "Clang|IntelLLVM") elseif(CMAKE_CXX_COMPILER_ID MATCHES "Intel") list(APPEND COMPILER_SWITCHES /Zc:__cplusplus /Zc:inline /fp:fast /Qdiag-disable:161) elseif(CMAKE_CXX_COMPILER_ID MATCHES "MSVC") - list(APPEND COMPILER_SWITCHES /sdl /Zc:inline /fp:fast) + list(APPEND COMPILER_SWITCHES /sdl /Zc:forScope /Zc:inline /Zc:wchar_t /fp:fast) if(WINDOWS_STORE) list(APPEND COMPILER_SWITCHES /await)