Skip to content

Commit

Permalink
Adding policy range (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
henryiii authored Apr 25, 2018
1 parent 7763ab8 commit b957301
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
cmake_minimum_required(VERSION 3.4 FATAL_ERROR)
cmake_minimum_required(VERSION 3.4...3.11)

if(${CMAKE_VERSION} VERSION_LESS 3.12)
cmake_policy(VERSION ${CMAKE_VERSION})
endif()

set(VERSION_REGEX "#define CLI11_VERSION[ \t]+\"(.+)\"")

Expand Down

0 comments on commit b957301

Please sign in to comment.