From 83b6db9f334f86c75ba15b64d0077dd3f1737d39 Mon Sep 17 00:00:00 2001 From: water Date: Wed, 9 Sep 2020 17:00:46 -0400 Subject: [PATCH] update to c++17 --- CMakeLists.txt | 2 +- game/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ecc3e6a860..4ab9843521 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.16) project(jak) -set(CMAKE_CXX_STANDARD 14) +set(CMAKE_CXX_STANDARD 17) # Set default compile flags for GCC # optimization level can be set here. Note that game/ overwrites this for building game C++ code. diff --git a/game/CMakeLists.txt b/game/CMakeLists.txt index e51dde9e25..d73e4968fe 100644 --- a/game/CMakeLists.txt +++ b/game/CMakeLists.txt @@ -1,5 +1,5 @@ # We define our own compilation flags here. -set(CMAKE_CXX_STANDARD 11) +set(CMAKE_CXX_STANDARD 17) # Set default compile flags for GCC # optimization level can be set here. Note that game/ overwrites this for building game C++ code.