diff --git a/desktop_version/CMakeLists.txt b/desktop_version/CMakeLists.txt index d2d28f9e..e1b64fa9 100644 --- a/desktop_version/CMakeLists.txt +++ b/desktop_version/CMakeLists.txt @@ -150,7 +150,9 @@ ELSEIF(CUSTOM_LEVEL_SUPPORT STREQUAL "DISABLED") ADD_DEFINITIONS(-DNO_CUSTOM_LEVELS -DNO_EDITOR) ENDIF() -TARGET_COMPILE_OPTIONS(VVVVVV PRIVATE -Werror=implicit-fallthrough) +IF (NOT MSVC) + TARGET_COMPILE_OPTIONS(VVVVVV PRIVATE -Werror=implicit-fallthrough) +ENDIF() # Library information ADD_LIBRARY(tinyxml-static STATIC ${XML_SRC})