[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [libkgoogle] /: Specify all Qt modules LibKGAPI depends on
From:       Dan_Vrátil <dan () progdan ! cz>
Date:       2012-05-31 20:13:18
Message-ID: 20120531201318.4723CA60A9 () git ! kde ! org
[Download RAW message or body]

Git commit 487e210611bb8fb93ce81c8ca9bfbacdfc153523 by Dan Vrátil.
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/487e210611bb8fb93ce81c8ca9bfbacdfc153523

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=Debug)" FALSE)  if (DEBUG_RAWDATA)
   SET(CMAKE_BUILD_TYPE Debug CACHE STRING "Choose the type of build, options are: \
None Debug Release RelWithDebInfo MinSizeRel." FORCE)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic