diff --git a/CMakeLists.txt b/CMakeLists.txt index c30b639..efcd8ef 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,8 +7,9 @@ include(FetchContent) # Specify output directories. set(EXECUTABLE_OUTPUT_PATH "${PROJECT_BINARY_DIR}/bin") -# Build with c++14 support, required by sc2api. -set(CMAKE_CXX_STANDARD 14) +# Build with c++17 support, required by sc2api. +set(CMAKE_CXX_STANDARD 17) +set(CMAKE_CXX_STANDARD_REQUIRED ON) if (MSVC) # Setup MSVC parallelized builds diff --git a/README.md b/README.md index 958d449..6161de7 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ $ build/bin/CommandCenter Ladder2019Season3/AcropolisLE.SC2Map ``` ## Linux -* Install 'gcc-c++' with C++14 support and the 'make' utility. +* Install 'gcc-c++' with C++17 support and the 'make' utility. * Install [CMake](https://cmake.org/download/). ```bash