diff --git a/CMakeLists.txt b/CMakeLists.txt index 903c0578..60de683f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -134,7 +134,7 @@ set(ANY_MSVC_CXX_FLAGS "/permissive-") # clang-cl warning flags that cl does not understand set(MSVC_CLANG_WARNING_FLAGS "-Wno-c++98-compat" "-Wno-c++98-compat-pedantic" "-Wno-exit-time-destructors" "-Wno-ctad-maybe-unsupported" - "-Wno-global-constructors" "-Wno-unsafe-buffer-usage") + "-Wno-global-constructors" "-Wno-unsafe-buffer-usage" "-Wno-switch-default") # cl flags that clang-cl does not understand set(MSVC_CXX_FLAGS "/external:anglebrackets" "/external:W0")