summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake15
1 files changed, 13 insertions, 2 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 6a1d1a457..87b81459b 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -269,8 +269,8 @@ find_package( TDE )
-# dbus (tdm)
-if( BUILD_TDM )
+# dbus (tdm, kdesktop)
+if( BUILD_TDM OR BUILD_KDESKTOP )
pkg_search_module( DBUS dbus-1 )
if( NOT DBUS_FOUND )
@@ -280,6 +280,17 @@ if( BUILD_TDM )
endif( )
+# dbus-1-tqt (kdesktop)
+if( BUILD_KDESKTOP )
+
+ pkg_search_module( DBUS_1_TQT dbus-1-tqt )
+ if( NOT DBUS_1_TQT_FOUND )
+ tde_message_fatal( "dbus-1-tqt is required, but was not found on your system" )
+ endif( )
+
+endif( )
+
+
# dbus-tqt (ksmserver, kicker, tdeioslaves(media))
if( WITH_HAL AND (BUILD_KSMSERVER OR BUILD_KICKER OR BUILD_TDEIOSLAVES) )