diff --git a/third_party/CMakeLists.txt b/third_party/CMakeLists.txt index f9d42684b..74b6ede7d 100644 --- a/third_party/CMakeLists.txt +++ b/third_party/CMakeLists.txt @@ -71,7 +71,7 @@ else() ) if(MSVC) - list(APPEND cmake_args "-DCMAKE_CXX_FLAGS=/W1 /WX") + list(APPEND cmake_args "-DCMAKE_CXX_FLAGS=/W3 /WX /EHsc") endif() include(ExternalProject)