From 8c00b405c990c5c633d147b5f5c1065a8bd01cf9 Mon Sep 17 00:00:00 2001 From: hrobeers <2812522+hrobeers@users.noreply.github.com> Date: Thu, 26 Mar 2020 17:07:05 +0100 Subject: [PATCH] Reinstate CXX_STANDARD in main CMakeLists --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) 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")