From 49db4e53a1e351278bc8e93bf004510e71804486 Mon Sep 17 00:00:00 2001 From: Clinton Stimpson Date: Wed, 5 Nov 2008 16:54:26 -0500 Subject: BUG: Fix #7934. phonon doesn't always depend on QtDBus. --- Modules/UseQt4.cmake | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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) -- cgit v0.12