Require C++17 for optionals
This commit is contained in:
parent
588ce99601
commit
bdaa046a8c
|
@ -1,6 +1,10 @@
|
|||
cmake_minimum_required(VERSION 3.1)
|
||||
project(compiler)
|
||||
|
||||
# We want C++17 for std::optional
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
# Find all the required packages
|
||||
find_package(BISON)
|
||||
find_package(FLEX)
|
||||
|
|
Loading…
Reference in New Issue
Block a user