mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-29 15:49:00 +08:00
14 lines
704 B
Diff
14 lines
704 B
Diff
|
diff --git a/Build/CMakeLists.txt b/Build/CMakeLists.txt
|
||
|
index 27c4c64..78f3947 100644
|
||
|
--- a/Build/CMakeLists.txt
|
||
|
+++ b/Build/CMakeLists.txt
|
||
|
@@ -53,7 +53,7 @@ if (("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows" OR "${CMAKE_SYSTEM_NAME}" STREQUA
|
||
|
endif()
|
||
|
|
||
|
# Set general compiler flags
|
||
|
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /std:c++17 /Zc:__cplusplus /Gm- /Wall /WX /MP /nologo /diagnostics:classic /FC /fp:except- /Zc:inline /Zi")
|
||
|
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /std:c++17 /Zc:__cplusplus /Gm- /Wall /WX- /MP /nologo /diagnostics:classic /FC /fp:except- /Zc:inline /Zi")
|
||
|
|
||
|
# Remove any existing compiler flag that enables RTTI
|
||
|
string(REPLACE "/GR" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
|