Require CMake 3.10

This commit is contained in:
Jack Andersen 2017-11-13 18:50:41 -10:00
parent 30391f3352
commit a31882663a
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR) # because of CMAKE_CXX_STANDARD
cmake_minimum_required(VERSION 3.10 FATAL_ERROR) # because of c++17
project(athena)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)