Properly point to ksmserver from kwin

This commit is contained in:
Aleix Pol 2014-03-18 14:22:57 +01:00
parent 0283d67998
commit 6d3acfc71e

View file

@ -221,12 +221,10 @@ qt5_add_dbus_adaptor( kwin_KDEINIT_SRCS org.kde.KWin.xml dbusinterface.h KWin::D
qt5_add_dbus_adaptor( kwin_KDEINIT_SRCS org.kde.kwin.Compositing.xml composite.h KWin::Compositor )
qt5_add_dbus_adaptor( kwin_KDEINIT_SRCS org.kde.kwin.Effects.xml effects.h KWin::EffectsHandlerImpl )
# TODO: we need a better way to find the dbus interfaces provided by ksmserver
set(KSMSERVER_SOURCE_DIR ${KWIN_SOURCE_DIR}/../ksmserver/)
qt5_add_dbus_interface( kwin_KDEINIT_SRCS
${KSMSERVER_SOURCE_DIR}/org.kde.KSMServerInterface.xml ksmserver_interface)
${ksmserver_SOURCE_DIR}/org.kde.KSMServerInterface.xml ksmserver_interface)
qt5_add_dbus_interface( kwin_KDEINIT_SRCS
${KSMSERVER_SOURCE_DIR}/screenlocker/dbus/org.freedesktop.ScreenSaver.xml screenlocker_interface)
${ksmserver_SOURCE_DIR}/screenlocker/dbus/org.freedesktop.ScreenSaver.xml screenlocker_interface)
qt5_add_resources( kwin_KDEINIT_SRCS resources.qrc )