Fix cmake build: FTBFS on kioslaves with hal

(cherry picked from commit fb6d447fcc46ebd5f1b8f333d76f2cb90d73c93b)
v3.5.13-sru
Alexander Golubev 12 years ago committed by Slávek Banko
parent 155aa5df86
commit 1cce4b75f1

@ -233,7 +233,6 @@ find_package( TQt )
find_package( TDE )
# dbus-tqt need Qt flags
# dbus (kdm, ksmserver)
if( BUILD_KDM OR BUILD_KSMSERVER )
@ -242,6 +241,11 @@ if( BUILD_KDM OR BUILD_KSMSERVER )
tde_message_fatal( "dbus-1 is required, but was not found on your system" )
endif( )
endif( )
# dbus-tqt (kdm, ksmserver, kioslaves(media))
if( BUILD_KDM OR BUILD_KSMSERVER OR (BUILD_KIOSLAVES AND WITH_HAL) )
# check for dbus-tqt
pkg_check_modules( DBUS_TQT REQUIRED dbus-tqt )
tde_save( CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES )

Loading…
Cancel
Save