CMake: Update requirements to 3.5.1

CMake 3.5.1 is the version that ships with Ubuntu 16.04 LTS. Ubuntu
14.04 LTS was already unsupported by our build, so we don't need to
worry about that.
master
Nicolas Hake 2018-12-31 11:51:21 +01:00
parent 606ad23e02
commit b702f1583c
1 changed files with 1 additions and 7 deletions

View File

@ -11,7 +11,7 @@
# To redistribute this file separately, substitute the full license texts
# for the above references.
cmake_minimum_required (VERSION 3.0.2)
cmake_minimum_required (VERSION 3.5.1)
# Don't allow people to build "Release" builds because there's no reason to do that.
# Use one of RelWithDebInfo or MinSizeRel instead.
@ -25,12 +25,6 @@ endif()
project (openclonk CXX C)
# CMP0054: Only interpret if() arguments as variables or keywords when unquoted
# (since CMake 3.1)
if(POLICY CMP0054)
cmake_policy(SET CMP0054 NEW)
endif()
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
include(Version)