summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2016-07-17 16:42:38 +0200
committerMattes D <github@xoft.cz>2016-07-18 22:11:42 +0200
commit2a05d8870d4df10593b7d0330d436f39151ae41c (patch)
treebb258a4eb246e062e3ad9b3cfa2119411bb1d4ac /CMakeLists.txt
parentCMake: Remove needless minimum version specifications. (diff)
downloadcuberite-2a05d8870d4df10593b7d0330d436f39151ae41c.tar
cuberite-2a05d8870d4df10593b7d0330d436f39151ae41c.tar.gz
cuberite-2a05d8870d4df10593b7d0330d436f39151ae41c.tar.bz2
cuberite-2a05d8870d4df10593b7d0330d436f39151ae41c.tar.lz
cuberite-2a05d8870d4df10593b7d0330d436f39151ae41c.tar.xz
cuberite-2a05d8870d4df10593b7d0330d436f39151ae41c.tar.zst
cuberite-2a05d8870d4df10593b7d0330d436f39151ae41c.zip
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f5ea75ba5..272f2394d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,5 +1,9 @@
cmake_minimum_required (VERSION 2.8.7)
+if (POLICY CMP0054)
+ cmake_policy(SET CMP0054 NEW)
+endif()
+
# Without this, the MSVC variable isn't defined for MSVC builds ( http://www.cmake.org/pipermail/cmake/2011-November/047130.html )
enable_language(CXX C)