Skip to content

Commit

Permalink
Require CMake 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
jackoalan committed Nov 14, 2017
1 parent 58ceb47 commit b5916af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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(nod)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
Expand Down

0 comments on commit b5916af

Please sign in to comment.