diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-01-04 21:50:18 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-01-04 21:50:18 (GMT) |
commit | 41676226671cdd1c745ba2c9cf9a18f035f1154b (patch) | |
tree | a20d1df9f179c53c1897d9d21ce5bae7068c23cc /Modules | |
parent | f53f0565a7d99ec4a8a2dacc8364072db7b92aab (diff) | |
download | CMake-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')
-rw-r--r-- | Modules/FindQt4.cmake | 1 | ||||
-rw-r--r-- | Modules/UseQt4.cmake | 7 |
2 files changed, 6 insertions, 2 deletions
diff --git a/Modules/FindQt4.cmake b/Modules/FindQt4.cmake index d4aa3e2..1927894 100644 --- a/Modules/FindQt4.cmake +++ b/Modules/FindQt4.cmake @@ -22,6 +22,7 @@ # QT_USE_QTSVG # QT_USE_QTTEST # QT_USE_QTUITOOLS +# QT_USE_QTDBUS # # All the libraries required are stored in a variable called QT_LIBRARIES. # Add this variable to your TARGET_LINK_LIBRARIES. 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) |