From 1df22c889d1f437210da5147ffacb3145316928f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Janiszewski?= Date: Wed, 9 Aug 2017 22:55:34 +0200 Subject: [PATCH] Update minimum required CMake version to 3.1 --- CMakeLists.txt | 2 +- src/openrct2-cli/CMakeLists.txt | 2 +- src/openrct2-ui/CMakeLists.txt | 2 +- src/openrct2/CMakeLists.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e6f04dd152..5e67e467f9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ # CMAKE project for openrct2 -cmake_minimum_required(VERSION 2.8.5) +cmake_minimum_required(VERSION 3.1) if (CMAKE_BINARY_DIR STREQUAL CMAKE_SOURCE_DIR) message(FATAL_ERROR "Building in-source is not supported! Create a build dir and remove ${CMAKE_SOURCE_DIR}/CMakeCache.txt") endif() diff --git a/src/openrct2-cli/CMakeLists.txt b/src/openrct2-cli/CMakeLists.txt index 89972ec2e2..383961133a 100644 --- a/src/openrct2-cli/CMakeLists.txt +++ b/src/openrct2-cli/CMakeLists.txt @@ -1,5 +1,5 @@ # CMAKE project for openrct2-cli (CLI-only build of OpenRCT2) -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.1) if (CMAKE_BINARY_DIR STREQUAL CMAKE_SOURCE_DIR) message(FATAL_ERROR "Building in-source is not supported! Create a build dir and remove ${CMAKE_SOURCE_DIR}/CMakeCache.txt") endif () diff --git a/src/openrct2-ui/CMakeLists.txt b/src/openrct2-ui/CMakeLists.txt index c99b7cb26c..cb5b639405 100644 --- a/src/openrct2-ui/CMakeLists.txt +++ b/src/openrct2-ui/CMakeLists.txt @@ -1,5 +1,5 @@ # CMAKE project for openrct2-ui (UI build of OpenRCT2) -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.1) if (CMAKE_BINARY_DIR STREQUAL CMAKE_SOURCE_DIR) message(FATAL_ERROR "Building in-source is not supported! Create a build dir and remove ${CMAKE_SOURCE_DIR}/CMakeCache.txt") endif () diff --git a/src/openrct2/CMakeLists.txt b/src/openrct2/CMakeLists.txt index 7953ed295d..6a0af049f2 100644 --- a/src/openrct2/CMakeLists.txt +++ b/src/openrct2/CMakeLists.txt @@ -1,5 +1,5 @@ # CMAKE project for libopenrct2 (core OpenRCT2 component) -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.1) if (CMAKE_BINARY_DIR STREQUAL CMAKE_SOURCE_DIR) message(FATAL_ERROR "Building in-source is not supported! Create a build dir and remove ${CMAKE_SOURCE_DIR}/CMakeCache.txt") endif ()