kwin/kcmkwin/kwinscreenedges/CMakeLists.txt
Martin Gräßlin 5803fa2353 Drop CompositingPrefs detection from screenedges kcm
CompositingPrefs have only be used to get the default
value when reading whether the Compositing Enabled
config option.

But CompositingPrefs always returns true which makes
it useless to create an OpenGL context for this.

REVIEW: 104752
2012-04-27 16:41:34 +02:00

13 lines
512 B
CMake

include_directories( ${KDEBASE_WORKSPACE_SOURCE_DIR}/kwin )
set(
kcm_kwinscreenedges_PART_SRCS
main.cpp
monitor.cpp
)
kde4_add_ui_files( kcm_kwinscreenedges_PART_SRCS main.ui )
kde4_add_plugin( kcm_kwinscreenedges ${kcm_kwinscreenedges_PART_SRCS} )
target_link_libraries( kcm_kwinscreenedges ${X11_LIBRARIES} kworkspace ${KDE4_PLASMA_LIBS})
install( TARGETS kcm_kwinscreenedges DESTINATION ${PLUGIN_INSTALL_DIR} )
install( FILES kwinscreenedges.desktop DESTINATION ${SERVICES_INSTALL_DIR} )