Enforce C++17 to use CMake to build, as we're using C++17 features
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Deukhoofd 2019-06-18 14:45:44 +02:00
parent fde102d954
commit 1563e45c3f
No known key found for this signature in database
GPG Key ID: B4C087AC81641654
1 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,8 @@ cmake_minimum_required(VERSION 3.10)
project(PorygonLang) project(PorygonLang)
set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
include_directories(extern) include_directories(extern)
file(GLOB_RECURSE SRC_FILES "src/*.cpp" "src/*.hpp") file(GLOB_RECURSE SRC_FILES "src/*.cpp" "src/*.hpp")