From 1563e45c3fb8b7eb7a008808d99e58edb35012bc Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Tue, 18 Jun 2019 14:45:44 +0200 Subject: [PATCH] Enforce C++17 to use CMake to build, as we're using C++17 features --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index db7ded7..c9bf979 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,6 +2,8 @@ cmake_minimum_required(VERSION 3.10) project(PorygonLang) set(CMAKE_CXX_STANDARD 17) +set(CMAKE_CXX_STANDARD_REQUIRED ON) + include_directories(extern) file(GLOB_RECURSE SRC_FILES "src/*.cpp" "src/*.hpp")