cmake: update standard to C++23

This commit is contained in:
Trianta 2024-08-02 19:38:26 -05:00
parent eefc2bf60b
commit e5698ec96b

View File

@ -4,7 +4,7 @@ project(
snakeplusplus
LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 11 CACHE STRING "The C++ standard to use")
set(CMAKE_CXX_STANDARD 23 CACHE STRING "The C++ standard to use")
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)