6919b4dc94
Instead of getting the information from CompositingPrefs the running KWin instance is queried through D-Bus. In general the running KWin should have more information about whether Compositing will work or not. This means the kcm no longer has to link OpenGL. REVIEW: 104753
22 lines
831 B
CMake
22 lines
831 B
CMake
########### next target ###############
|
|
|
|
include_directories( ${KDEBASE_WORKSPACE_SOURCE_DIR}/kwin )
|
|
|
|
set(kcm_kwincompositing_PART_SRCS
|
|
main.cpp
|
|
ktimerdialog.cpp
|
|
)
|
|
kde4_add_ui_files(kcm_kwincompositing_PART_SRCS main.ui)
|
|
set(kwin_xml ${KDEBASE_WORKSPACE_SOURCE_DIR}/kwin/org.kde.KWin.xml)
|
|
set_source_files_properties(${kwin_xml} PROPERTIES INCLUDE "interface_util.h")
|
|
QT4_ADD_DBUS_INTERFACE(kcm_kwincompositing_PART_SRCS ${kwin_xml} kwin_interface)
|
|
kde4_add_plugin(kcm_kwincompositing ${kcm_kwincompositing_PART_SRCS})
|
|
target_link_libraries(kcm_kwincompositing ${KDE4_KCMUTILS_LIBS} ${KDE4_KDEUI_LIBS} ${X11_LIBRARIES})
|
|
install(TARGETS kcm_kwincompositing DESTINATION ${PLUGIN_INSTALL_DIR} )
|
|
|
|
|
|
########### install files ###############
|
|
|
|
install( FILES kwincompositing.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
|
|
|
|