From e9b77279cf8174592204878fc4a774df0293898e Mon Sep 17 00:00:00 2001 From: Andy Maloney Date: Sun, 24 Dec 2023 12:52:07 -0500 Subject: [PATCH] Now require C++17 --- CMakeLists.txt | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 47afe84..5c57399 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,7 +19,7 @@ add_executable( ${PROJECT_NAME} ) target_compile_features( ${PROJECT_NAME} PRIVATE - cxx_std_14 + cxx_std_17 ) target_sources( ${PROJECT_NAME} diff --git a/Makefile b/Makefile index bc2ac68..c5056c4 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ CXX=g++ -CXXFLAGS=-O2 -pedantic -Wall -Wextra -ansi -std=c++11 +CXXFLAGS=-O2 -pedantic -Wall -Wextra -ansi -std=c++17 all: demo