summaryrefslogtreecommitdiffstats
path: root/Modules/UseQt4.cmake
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2008-11-05 21:54:26 (GMT)
committerClinton Stimpson <clinton@elemtech.com>2008-11-05 21:54:26 (GMT)
commit49db4e53a1e351278bc8e93bf004510e71804486 (patch)
tree399e3c43b7f4912eb5adfaa8209770a2196f582a /Modules/UseQt4.cmake
parent020f5ae82eadacd49c72bc748bc9e4b064e1f414 (diff)
downloadCMake-49db4e53a1e351278bc8e93bf004510e71804486.zip
CMake-49db4e53a1e351278bc8e93bf004510e71804486.tar.gz
CMake-49db4e53a1e351278bc8e93bf004510e71804486.tar.bz2
BUG: Fix #7934. phonon doesn't always depend on QtDBus.
Diffstat (limited to 'Modules/UseQt4.cmake')
-rw-r--r--Modules/UseQt4.cmake6
1 files changed, 5 insertions, 1 deletions
diff --git a/Modules/UseQt4.cmake b/Modules/UseQt4.cmake
index 495b999..9a8ce6c 100644
--- a/Modules/UseQt4.cmake
+++ b/Modules/UseQt4.cmake
@@ -41,7 +41,11 @@ SET(QT_QT3SUPPORT_MODULE_DEPENDS QTGUI QTSQL QTXML QTNETWORK QTCORE)
SET(QT_QTSVG_MODULE_DEPENDS QTGUI QTXML QTCORE)
SET(QT_QTUITOOLS_MODULE_DEPENDS QTGUI QTXML QTCORE)
SET(QT_QTHELP_MODULE_DEPENDS QTGUI QTSQL QTXML QTCORE)
-SET(QT_PHONON_MODULE_DEPENDS QTGUI QTDBUS QTCORE)
+IF(QT_QTDBUS_FOUND)
+ SET(QT_PHONON_MODULE_DEPENDS QTGUI QTDBUS QTCORE)
+ELSE(QT_QTDBUS_FOUND)
+ SET(QT_PHONON_MODULE_DEPENDS QTGUI QTCORE)
+ENDIF(QT_QTDBUS_FOUND)
SET(QT_QTDBUS_MODULE_DEPENDS QTXML QTCORE)
SET(QT_QTXMLPATTERNS_MODULE_DEPENDS QTNETWORK QTCORE)