diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2016-12-15 16:25:41 +0100 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2016-12-15 16:25:41 +0100 |
commit | 5a9607603c5a686a72f8449344b573ca263d7fda (patch) | |
tree | c07f8685e262ad68e232959150b803aecf924804 | |
parent | 724a779705dd25411653e1c42dd82d2c0456636e (diff) | |
download | uca-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.txt | 9 |
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") |