From kde-commits Thu May 31 20:13:18 2012 From: =?utf-8?q?Dan_Vr=C3=A1til?= Date: Thu, 31 May 2012 20:13:18 +0000 To: kde-commits Subject: [libkgoogle] /: Specify all Qt modules LibKGAPI depends on Message-Id: <20120531201318.4723CA60A9 () git ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=133849537909266 Git commit 487e210611bb8fb93ce81c8ca9bfbacdfc153523 by Dan Vr=C3=A1til. Committed on 31/05/2012 at 22:13. Pushed by dvratil into branch 'master'. Specify all Qt modules LibKGAPI depends on Explicitly list all Qt modules that LibKGAPI depends on so that CMake can report and abort if any of them is missing (especially QtWebKit, the other modules are usualy part of Qt package). BUG: 300900 FIXED-IN: 0.4.1 M +2 -1 CMakeLists.txt http://commits.kde.org/akonadi-google/487e210611bb8fb93ce81c8ca9bfbacdfc153= 523 diff --git a/CMakeLists.txt b/CMakeLists.txt index a0e7d70..9865e08 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,7 +10,8 @@ if(POLICY CMP0017) cmake_policy(SET CMP0017 NEW) endif() = -find_package(Qt4 4.7.0 REQUIRED) = +find_package(Qt4 4.7.0 REQUIRED QtCore QtWebKit QtNetwork QtXML) +include(${QT_USE_FILE}) option(DEBUG_RAWDATA "Log raw data send and received from Google service (= enables CMAKE_BUILD_TYPE=3DDebug)" FALSE) if (DEBUG_RAWDATA) SET(CMAKE_BUILD_TYPE Debug CACHE STRING "Choose the type of build, optio= ns are: None Debug Release RelWithDebInfo MinSizeRel." FORCE)