summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2016-12-15 16:25:41 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2016-12-15 16:25:41 +0100
commit5a9607603c5a686a72f8449344b573ca263d7fda (patch)
treec07f8685e262ad68e232959150b803aecf924804
parent724a779705dd25411653e1c42dd82d2c0456636e (diff)
downloaduca-net-5a9607603c5a686a72f8449344b573ca263d7fda.tar.gz
uca-net-5a9607603c5a686a72f8449344b573ca263d7fda.tar.bz2
uca-net-5a9607603c5a686a72f8449344b573ca263d7fda.tar.xz
uca-net-5a9607603c5a686a72f8449344b573ca263d7fda.zip
Set CMake policies for newer CMake versions
-rw-r--r--CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b4423e8..430c969 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(ucanet C)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")