summaryrefslogtreecommitdiffstats
path: root/Modules/UseQt4.cmake
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-01-04 21:50:18 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-01-04 21:50:18 (GMT)
commit41676226671cdd1c745ba2c9cf9a18f035f1154b (patch)
treea20d1df9f179c53c1897d9d21ce5bae7068c23cc /Modules/UseQt4.cmake
parentf53f0565a7d99ec4a8a2dacc8364072db7b92aab (diff)
downloadCMake-41676226671cdd1c745ba2c9cf9a18f035f1154b.zip
CMake-41676226671cdd1c745ba2c9cf9a18f035f1154b.tar.gz
CMake-41676226671cdd1c745ba2c9cf9a18f035f1154b.tar.bz2
ENH: add QT_USE_QTDBUS as it exists for all other modules too
Alex
Diffstat (limited to 'Modules/UseQt4.cmake')
-rw-r--r--Modules/UseQt4.cmake7
1 files changed, 5 insertions, 2 deletions
diff --git a/Modules/UseQt4.cmake b/Modules/UseQt4.cmake
index af2d372..cf896a6 100644
--- a/Modules/UseQt4.cmake
+++ b/Modules/UseQt4.cmake
@@ -21,8 +21,7 @@ MACRO(QT_MODULE_SETUP module)
IF (QT_QT${module}_FOUND)
ADD_DEFINITIONS(-DQT_${module}_LIB)
INCLUDE_DIRECTORIES(${QT_QT${module}_INCLUDE_DIR})
- SET(QT_LIBRARIES ${QT_LIBRARIES} ${QT_QT${module}_LIBRARY})
- SET(QT_LIBRARIES ${QT_LIBRARIES} ${QT_${module}_LIB_DEPENDENCIES})
+ SET(QT_LIBRARIES ${QT_LIBRARIES} ${QT_QT${module}_LIBRARY} ${QT_${module}_LIB_DEPENDENCIES})
ELSE (QT_QT${module}_FOUND)
MESSAGE("Qt ${module} library not found.")
ENDIF (QT_QT${module}_FOUND)
@@ -84,6 +83,10 @@ IF (QT_USE_QTNETWORK)
QT_MODULE_SETUP(NETWORK)
ENDIF (QT_USE_QTNETWORK)
+IF (QT_USE_QTDBUS)
+ QT_MODULE_SETUP(DBUS)
+ENDIF (QT_USE_QTDBUS)
+
IF (NOT QT_DONT_USE_QTCORE)
QT_MODULE_SETUP(CORE)
ENDIF (NOT QT_DONT_USE_QTCORE)