summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2021-01-29 17:35:29 +0100
committerGitHub <noreply@github.com>2021-01-29 17:35:29 +0100
commit9c91cbf50c06f615449cb9ec1a5d0fbe9bc0bfa5 (patch)
tree1522e9fabfd291e925c073bc9f16b3c358ee3f41 /CMakeLists.txt
parent5c005ad081a23a1c048ef2c1066f60e0e041c956 (diff)
downloadminetest-9c91cbf50c06f615449cb9ec1a5d0fbe9bc0bfa5.tar.gz
minetest-9c91cbf50c06f615449cb9ec1a5d0fbe9bc0bfa5.tar.bz2
minetest-9c91cbf50c06f615449cb9ec1a5d0fbe9bc0bfa5.zip
Handle changes caused by CMake minimum version bump (#10859)
fixes #10806
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1d53fcffd..2549bd25d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,5 +1,7 @@
cmake_minimum_required(VERSION 3.5)
+cmake_policy(SET CMP0025 OLD)
+
# This can be read from ${PROJECT_NAME} after project() is called
project(minetest)
set(PROJECT_NAME_CAPITALIZED "Minetest")