Make use of CMake up to 3.17.

This commit is contained in:
tastytea 2020-10-31 13:00:47 +01:00
parent 4f4f4dacad
commit b40f9910d0
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# Support version 3.9 and above, but use policy settings up to 3.14.
# Support version 3.9 and above, but use policy settings up to 3.17.
# 3.9 is needed for project description.
cmake_minimum_required(VERSION 3.9...3.14)
cmake_minimum_required(VERSION 3.9...3.17)
# Ranges are supported from 3.12, set policy to current for < 3.12.
if(${CMAKE_VERSION} VERSION_LESS 3.12)
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})