diff options
-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) |