From 8951fe646bdcbea271e17876c573ae9176906570 Mon Sep 17 00:00:00 2001 From: scttgs0 Date: Mon, 27 Mar 2023 00:25:53 -0500 Subject: [PATCH] require c++17 --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3e98c5eb..bb161cf0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,9 +18,9 @@ include (CheckCXXSourceCompiles) include (CheckIncludeFile) include (CPack) -# let's use & require C++14 - note these are only functional with CMake 3.1 +# let's use & require C++17 - note these are only functional with CMake 3.1 # we do manual fallbacks for CMake 3.0 in the compilers section -set(CMAKE_CXX_STANDARD 14) +set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED YES) project(TerraGear)