[Pkg-owncloud-commits] [owncloud-client] 320/333: Cleanups, build if Qt5 is not on system

Sandro Knauß hefee-guest at moszumanska.debian.org
Thu Apr 17 23:17:10 UTC 2014


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 4ff39d81140071042be37310c20747bcf6007b9e
Author: Daniel Molkentin <danimo at owncloud.com>
Date:   Mon Apr 7 18:08:28 2014 +0200

    Cleanups, build if Qt5 is not on system
---
 cmake/modules/QtVersionAbstraction.cmake | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/cmake/modules/QtVersionAbstraction.cmake b/cmake/modules/QtVersionAbstraction.cmake
index d802296..ce17657 100644
--- a/cmake/modules/QtVersionAbstraction.cmake
+++ b/cmake/modules/QtVersionAbstraction.cmake
@@ -4,15 +4,14 @@ include (MacroLogFeature)
 option(BUILD_WITH_QT4 "Build with Qt4 no matter if Qt5 was found" OFF)
 
 if( NOT BUILD_WITH_QT4 )
-    find_package(Qt5Core REQUIRED)
+    find_package(Qt5Core QUIET)
     if( Qt5Core_FOUND )
-        message("Found Qt5 core, checking for further deps")
+        message(STATUS "Found Qt5 core, checking for further dependencies...")
         find_package(Qt5Widgets REQUIRED)
         find_package(Qt5Quick REQUIRED)
         find_package(Qt5PrintSupport REQUIRED)
         find_package(Qt5WebKit REQUIRED)
         find_package(Qt5Network REQUIRED)
-        find_package(Qt5Sensors REQUIRED)
         find_package(Qt5Xml REQUIRED)
         find_package(Qt5WebKitWidgets REQUIRED)
         if(APPLE)

-- 
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