diff --git a/desktop_version/CMakeLists.txt b/desktop_version/CMakeLists.txt index fcddc60f..65b45f13 100644 --- a/desktop_version/CMakeLists.txt +++ b/desktop_version/CMakeLists.txt @@ -185,6 +185,9 @@ IF(SUPPORTS_IMPLICIT_FALLTHROUGH) TARGET_COMPILE_OPTIONS(VVVVVV PRIVATE -Werror=implicit-fallthrough) ENDIF() +SET_PROPERTY(TARGET VVVVVV PROPERTY CXX_STANDARD 98) +SET_PROPERTY(TARGET VVVVVV PROPERTY CXX_EXTENSIONS FALSE) + # Library information ADD_LIBRARY(tinyxml-static STATIC ${XML_SRC}) ADD_LIBRARY(physfs-static STATIC ${PFS_SRC} ${PFSP_SRC})