From 098fb77611e54a9829428c253c60b2697e77f590 Mon Sep 17 00:00:00 2001 From: leo60228 Date: Sun, 7 Jun 2020 15:48:07 -0400 Subject: [PATCH] Set C++ standard to C++98 --- desktop_version/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) 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})