You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by bp...@apache.org on 2015/12/20 17:55:52 UTC

celix git commit: CELIX-331: support multiple cmake versions

Repository: celix
Updated Branches:
  refs/heads/develop fddc16c04 -> 265bcb416


CELIX-331: support multiple cmake versions


Project: http://git-wip-us.apache.org/repos/asf/celix/repo
Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/265bcb41
Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/265bcb41
Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/265bcb41

Branch: refs/heads/develop
Commit: 265bcb4161a8a618deee61d3e951a5c06421ad28
Parents: fddc16c
Author: Bjoern Petri <bp...@apache.org>
Authored: Sun Dec 20 17:55:28 2015 +0100
Committer: Bjoern Petri <bp...@apache.org>
Committed: Sun Dec 20 17:55:28 2015 +0100

----------------------------------------------------------------------
 CMakeLists.txt | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/celix/blob/265bcb41/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 85417d5..9453411 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -19,7 +19,9 @@ cmake_minimum_required (VERSION 2.6)
 project (Celix C CXX)
 
 cmake_policy(SET CMP0012 NEW)
-cmake_policy(SET CMP0053 OLD)
+if(POLICY CMP0053)
+    cmake_policy(SET CMP0053 OLD)
+endif(POLICY CMP0053)
 
 #SET(CMAKE_VERBOSE_MAKEFILE ON)