Set C++ version to 17

This commit is contained in:
Patricia Aas 2021-09-10 11:42:46 +02:00
parent 706c6245a5
commit b30d71ac96

View file

@ -24,7 +24,8 @@ endif()
enable_language(CXX) enable_language(CXX)
project(pacman) project(pacman)
set(CMAKE_CXX_STANDARD 20) set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
add_subdirectory(scaling-lib) add_subdirectory(scaling-lib)
add_subdirectory(lib) add_subdirectory(lib)