Set required CMake version to 3.11.

Needed for FindFilesystem.
This commit is contained in:
tastytea 2020-07-04 02:14:20 +02:00
parent 870039a7d6
commit 22429c8175
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.9...3.16)
cmake_minimum_required(VERSION 3.11...3.16)
# 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})