diff --git a/desktop_version/CMakeLists.txt b/desktop_version/CMakeLists.txt index 121441e9..d2d28f9e 100644 --- a/desktop_version/CMakeLists.txt +++ b/desktop_version/CMakeLists.txt @@ -150,6 +150,8 @@ ELSEIF(CUSTOM_LEVEL_SUPPORT STREQUAL "DISABLED") ADD_DEFINITIONS(-DNO_CUSTOM_LEVELS -DNO_EDITOR) ENDIF() +TARGET_COMPILE_OPTIONS(VVVVVV PRIVATE -Werror=implicit-fallthrough) + # Library information ADD_LIBRARY(tinyxml-static STATIC ${XML_SRC}) ADD_LIBRARY(physfs-static STATIC ${PFS_SRC} ${PFSP_SRC})