3 set(kworkspace_LIB_SRCS kdisplaymanager.cpp
8 set(ksmserver_xml ${KDEBASE_WORKSPACE_SOURCE_DIR}/ksmserver/org.kde.KSMServerInterface.xml)
9 qt4_add_dbus_interface( kworkspace_LIB_SRCS ${ksmserver_xml} ksmserver_interface )
11 set(kwin_xml ${KDEBASE_WORKSPACE_SOURCE_DIR}/kwin/org.kde.KWin.xml)
13 set_source_files_properties(${kwin_xml} PROPERTIES INCLUDE "interface_util.h")
15 qt4_add_dbus_interface( kworkspace_LIB_SRCS ${kwin_xml} kwin_interface )
18 kde4_add_library(kworkspace SHARED ${kworkspace_LIB_SRCS})
20 target_link_libraries(kworkspace ${KDE4_KDEUI_LIBS} ${X11_LIBRARIES} )
22 set_target_properties(kworkspace PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION} )
23 install(TARGETS kworkspace EXPORT kdeworkspaceLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS} )
25 install( FILES kdisplaymanager.h
28 DESTINATION ${INCLUDE_INSTALL_DIR}/kworkspace COMPONENT Devel )