Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
CRT headers are not yet /experimental:preprocessor clean, add /Wv:18 to work around the known issues
  • Loading branch information
tishion authored Feb 19, 2021
1 parent 58918dd commit 0858370
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ set(CMAKE_CXX_FLAGS_RELEASE
"/MT /O2 /Ob2 /DNDEBUG"
CACHE STRING "default C++ compile flags for release build" FORCE)
set(CMAKE_C_FLAGS
"/DWIN32 /D_WINDOWS /W3 /WX /GR /GS- /Gy /FAcs /Z7 /DEBUG"
"/DWIN32 /D_WINDOWS /W3 /WX /GR /GS- /Gy /FAcs /Z7 /DEBUG /Wv:18"
CACHE STRING "default C++ compile flags" FORCE)
set(CMAKE_C_FLAGS_DEBUG
"/MTd /Ob0 /Od"
Expand Down

0 comments on commit 0858370

Please sign in to comment.