forked from Mirrors/openclonk
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
parent
606ad23e02
commit
b702f1583c
|
@ -11,7 +11,7 @@
|
||||||
# To redistribute this file separately, substitute the full license texts
|
# To redistribute this file separately, substitute the full license texts
|
||||||
# for the above references.
|
# 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.
|
# Don't allow people to build "Release" builds because there's no reason to do that.
|
||||||
# Use one of RelWithDebInfo or MinSizeRel instead.
|
# Use one of RelWithDebInfo or MinSizeRel instead.
|
||||||
|
@ -25,12 +25,6 @@ endif()
|
||||||
|
|
||||||
project (openclonk CXX C)
|
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")
|
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
|
||||||
|
|
||||||
include(Version)
|
include(Version)
|
||||||
|
|
Loading…
Reference in New Issue