From 56117c92f29524123374f4e4aec0d2c31d12f599 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Fri, 25 Nov 2016 14:09:50 +0100 Subject: Set CMake policy for recent CMake versions --- CMakeLists.txt | 9 +++++++++ 1 file changed, 9 insertions(+) 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 -- cgit v1.2.3