require c++17
This commit is contained in:
parent
77920101d3
commit
8951fe646b
1 changed files with 2 additions and 2 deletions
|
@ -18,9 +18,9 @@ include (CheckCXXSourceCompiles)
|
|||
include (CheckIncludeFile)
|
||||
include (CPack)
|
||||
|
||||
# let's use & require C++14 - note these are only functional with CMake 3.1
|
||||
# let's use & require C++17 - note these are only functional with CMake 3.1
|
||||
# we do manual fallbacks for CMake 3.0 in the compilers section
|
||||
set(CMAKE_CXX_STANDARD 14)
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED YES)
|
||||
|
||||
project(TerraGear)
|
||||
|
|
Loading…
Add table
Reference in a new issue