diff --git a/CHANGELOG.md b/CHANGELOG.md index 21ae2d8..831460b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ ### Added ### Changed + - Now compiled with C++17 standard. Also required. ### Removed diff --git a/CMakeLists.txt b/CMakeLists.txt index 977a976..1855576 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -60,7 +60,7 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin") endif() #Compiler options -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -std=c++11") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -std=c++17") set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS_DEBUG} -g -DDEBUG") set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS_RELEASE} -O2") diff --git a/README.md b/README.md index 6689326..7d64db5 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Recent Linux version. Target is all current Ubuntu Desktop LTS versions (up to 5 Target is all official supported versions of windows for x86-64 that allows manually installed software. Currently Windows 10+. ## Dependencies -* A version of g++ with C++11 support. Tested on g++-4.9 +* A version of g++ with C++17 support. Tested on g++-11 * libSDL2 * libSDL2_image * libSDL2_mixer