celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bpe...@apache.org
Subject celix git commit: CELIX-331: support multiple cmake versions
Date Sun, 20 Dec 2015 16:55:52 GMT
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 <bpetri@apache.org>
Authored: Sun Dec 20 17:55:28 2015 +0100
Committer: Bjoern Petri <bpetri@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)
 


Mime
View raw message