summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2016-11-25 14:09:50 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2016-11-25 14:09:50 +0100
commit56117c92f29524123374f4e4aec0d2c31d12f599 (patch)
tree4f6ba536917e6418c4f9b53e54b7d256992c8700
parent37912add5e850779a997b6159a68ada574bfb5af (diff)
downloaduca-56117c92f29524123374f4e4aec0d2c31d12f599.tar.gz
uca-56117c92f29524123374f4e4aec0d2c31d12f599.tar.bz2
uca-56117c92f29524123374f4e4aec0d2c31d12f599.tar.xz
uca-56117c92f29524123374f4e4aec0d2c31d12f599.zip
Set CMake policy for recent CMake versions
-rw-r--r--CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ad1e61c..e6c71c6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,13 @@
cmake_minimum_required(VERSION 2.6)
+
+if (POLICY CMP0053)
+cmake_policy(SET CMP0053 OLD)
+endif ()
+
+if (POLICY CMP0054)
+cmake_policy(SET CMP0054 OLD)
+endif ()
+
project(uca C)
#{{{ CMake