mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-02-02 23:42:21 +03:00
Set C++ standard to C++98
This commit is contained in:
@@ -185,6 +185,9 @@ IF(SUPPORTS_IMPLICIT_FALLTHROUGH)
|
|||||||
TARGET_COMPILE_OPTIONS(VVVVVV PRIVATE -Werror=implicit-fallthrough)
|
TARGET_COMPILE_OPTIONS(VVVVVV PRIVATE -Werror=implicit-fallthrough)
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
|
SET_PROPERTY(TARGET VVVVVV PROPERTY CXX_STANDARD 98)
|
||||||
|
SET_PROPERTY(TARGET VVVVVV PROPERTY CXX_EXTENSIONS FALSE)
|
||||||
|
|
||||||
# Library information
|
# Library information
|
||||||
ADD_LIBRARY(tinyxml-static STATIC ${XML_SRC})
|
ADD_LIBRARY(tinyxml-static STATIC ${XML_SRC})
|
||||||
ADD_LIBRARY(physfs-static STATIC ${PFS_SRC} ${PFSP_SRC})
|
ADD_LIBRARY(physfs-static STATIC ${PFS_SRC} ${PFSP_SRC})
|
||||||
|
|||||||
Reference in New Issue
Block a user