[Pkg-owncloud-commits] [owncloud-client] 14/120: Silence verbose cmake policy warnings on Windows

Sandro Knauß hefee-guest at moszumanska.debian.org
Mon Aug 24 00:02:37 UTC 2015


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit 4441d3b342073bed9d2eba1f8de86db1de7611d2
Author: Jocelyn Turcotte <jturcotte at woboq.com>
Date:   Thu Aug 6 15:32:36 2015 +0200

    Silence verbose cmake policy warnings on Windows
---
 CMakeLists.txt | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5226ef7..494dff4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,5 +1,7 @@
 cmake_minimum_required(VERSION 2.6)
-cmake_policy(VERSION 2.8.0)
+cmake_policy(VERSION 2.8.12)
+cmake_policy(SET CMP0043 NEW) # For VERSION < 3.3
+cmake_policy(SET CMP0058 NEW) # For VERSION < 3.3
 
 project(client)
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list