Skip to content

Commit b558c58

Browse files
authored
CMake update for v4.1 change (#291)
1 parent 34ba1af commit b558c58

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build/CompilerAndLinker.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "Clang|IntelLLVM")
141141
elseif(CMAKE_CXX_COMPILER_ID MATCHES "Intel")
142142
list(APPEND COMPILER_SWITCHES /Zc:__cplusplus /Zc:inline /fp:fast /Qdiag-disable:161)
143143
elseif(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
144-
list(APPEND COMPILER_SWITCHES /sdl /Zc:inline /fp:fast)
144+
list(APPEND COMPILER_SWITCHES /sdl /Zc:forScope /Zc:inline /Zc:wchar_t /fp:fast)
145145

146146
if(WINDOWS_STORE)
147147
list(APPEND COMPILER_SWITCHES /await)

0 commit comments

Comments
 (0)