Skip to content

Commit c6bbd58

Browse files
committed
Minor update for change in CMake 4.1
1 parent 42f17c2 commit c6bbd58

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

SHMath/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ elseif(CMAKE_CXX_COMPILER_ID MATCHES "Intel")
164164
target_compile_options(${PROJECT_NAME} PRIVATE /Zc:__cplusplus /Zc:inline /fp:fast /Qdiag-disable:161)
165165
elseif(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
166166
target_compile_options(${PROJECT_NAME} PRIVATE
167-
/sdl /Zc:inline /fp:fast
167+
/sdl /Zc:forScope /Zc:inline /Zc:wchar_t /fp:fast
168168
/wd4061 /wd4365 /wd4514 /wd4571 /wd4668 /wd4710 /wd4820 /wd5039 /wd5045)
169169

170170
if(CMAKE_INTERPROCEDURAL_OPTIMIZATION)

0 commit comments

Comments
 (0)