Increase cmake_minimum_required to 3.10 (#23165)

This commit is contained in:
Aaron van Geffen 2024-11-08 22:59:22 +01:00 committed by GitHub
parent d76aff39de
commit 155f5ae2f5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 9 additions and 5 deletions

View file

@ -1,5 +1,6 @@
# CMAKE project for openrct2
cmake_minimum_required(VERSION 3.9)
cmake_minimum_required(VERSION 3.10)
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()

View file

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.8.0)
cmake_minimum_required(VERSION 3.10)
project(openrct2-android CXX)

View file

@ -1,4 +1,5 @@
cmake_minimum_required(VERSION 3.9)
cmake_minimum_required(VERSION 3.10)
project(openrct2-cli CXX)
if (CMAKE_BINARY_DIR STREQUAL CMAKE_SOURCE_DIR)

View file

@ -1,5 +1,6 @@
# CMAKE project for openrct2-ui (UI build of OpenRCT2)
cmake_minimum_required(VERSION 3.9)
cmake_minimum_required(VERSION 3.10)
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 ()

View file

@ -1,4 +1,5 @@
cmake_minimum_required(VERSION 3.9)
cmake_minimum_required(VERSION 3.10)
project(libopenrct2 CXX)
if (CMAKE_BINARY_DIR STREQUAL CMAKE_SOURCE_DIR)