2014-04-30 06:55:58 +00:00
|
|
|
# KI18N Translation Domain for this library
|
|
|
|
add_definitions(-DTRANSLATION_DOMAIN=\"kcmkwinscreenedges\")
|
|
|
|
|
2014-04-04 08:45:16 +00:00
|
|
|
include_directories(${KWIN_SOURCE_DIR}/effects)
|
2009-02-27 15:40:53 +00:00
|
|
|
set(
|
|
|
|
kcm_kwinscreenedges_PART_SRCS
|
|
|
|
main.cpp
|
|
|
|
monitor.cpp
|
2013-09-29 08:09:28 +00:00
|
|
|
screenpreviewwidget.cpp
|
2009-02-27 15:40:53 +00:00
|
|
|
)
|
2014-04-30 06:55:58 +00:00
|
|
|
ki18n_wrap_ui( kcm_kwinscreenedges_PART_SRCS main.ui )
|
2013-12-05 19:22:31 +00:00
|
|
|
add_library( kcm_kwinscreenedges MODULE ${kcm_kwinscreenedges_PART_SRCS} )
|
2013-09-29 08:24:35 +00:00
|
|
|
target_link_libraries( kcm_kwinscreenedges ${X11_LIBRARIES}
|
|
|
|
Qt5::DBus
|
2013-12-11 20:41:47 +00:00
|
|
|
KF5::Completion
|
|
|
|
KF5::ConfigCore
|
|
|
|
KF5::ConfigWidgets
|
|
|
|
KF5::I18n
|
|
|
|
KF5::Service
|
2013-10-15 23:36:24 +00:00
|
|
|
KF5::Plasma
|
2014-04-04 08:45:16 +00:00
|
|
|
kwin4_effect_builtins
|
2013-09-29 08:24:35 +00:00
|
|
|
)
|
2009-02-27 15:40:53 +00:00
|
|
|
install( TARGETS kcm_kwinscreenedges DESTINATION ${PLUGIN_INSTALL_DIR} )
|
|
|
|
|
|
|
|
install( FILES kwinscreenedges.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|