diff --git a/CMakeLists.txt b/CMakeLists.txt index fa40e9e..84b35b8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -163,6 +163,7 @@ if (CMAKE_BUILD_TYPE MATCHES "Debug") #try_c_flag(WRESERVED_ID_MACRO "-Wno-reserved-id-macro") try_c_flag(WRESERVED_IDENTIFIER "-Wno-reserved-identifier") #try_c_flag(WSIGN_COMPARE "-Wno-sign-compare") + try_c_flag(WSWITCHDEFAULT "-Wno-switch-default") try_c_flag(WSWITCH_ENUM "-Wno-switch-enum") #try_c_flag(WUNUSED_CONST "-Wno-unused-const-variable") #try_c_flag(WUNUSED_FUNCTION "-Wno-unused-function")