From b702f1583c7b8f0cf15f0a08887233c4a41a97d8 Mon Sep 17 00:00:00 2001 From: Nicolas Hake Date: Mon, 31 Dec 2018 11:51:21 +0100 Subject: [PATCH] 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. --- CMakeLists.txt | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cc2e75d2f..66ecb994a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)