diff --git a/CMakeLists.txt b/CMakeLists.txt index 775c305..5be4ccc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,6 +27,8 @@ option(Tests "Build the tests executable" OFF) option(Web "Include the web components" ON) # Build flags +set(CXX_STANDARD 17) +set(CMAKE_CXX_STANDARD_REQUIRED ON) set(DEBUG_FLAGS "-g -O0 -Wall -Wextra -pedantic") set(RELEASE_FLAGS "-O3 -fomit-frame-pointer -finline-functions")