1
0
mirror of https://github.com/CLIUtils/CLI11.git synced 2025-05-08 15:53:51 +00:00

Adding policy range (#110)

This commit is contained in:
Henry Schreiner 2018-04-25 18:14:00 -04:00 committed by GitHub
parent 7763ab8809
commit b957301c3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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]+\"(.+)\"") set(VERSION_REGEX "#define CLI11_VERSION[ \t]+\"(.+)\"")