2007-11-04 12:35:51 +00:00
|
|
|
|
|
|
|
########### next target ###############
|
2014-04-30 06:55:58 +00:00
|
|
|
# KI18N Translation Domain for this library
|
|
|
|
add_definitions(-DTRANSLATION_DOMAIN=\"kcm_kwindesktop\")
|
|
|
|
|
2014-04-04 08:16:42 +00:00
|
|
|
include_directories(${KWIN_SOURCE_DIR}/effects)
|
2007-11-04 12:35:51 +00:00
|
|
|
|
2009-07-12 12:21:57 +00:00
|
|
|
set(kcm_kwindesktop_PART_SRCS main.cpp desktopnameswidget.cpp)
|
2014-04-30 06:55:58 +00:00
|
|
|
ki18n_wrap_ui(kcm_kwindesktop_PART_SRCS main.ui)
|
2014-05-24 12:04:59 +00:00
|
|
|
qt5_add_dbus_interface( kcm_kwindesktop_PART_SRCS
|
|
|
|
${KWIN_SOURCE_DIR}/org.kde.kwin.Effects.xml kwin_effects_interface)
|
2007-11-04 12:35:51 +00:00
|
|
|
|
2013-11-15 12:37:47 +00:00
|
|
|
add_library(kcm_kwindesktop MODULE ${kcm_kwindesktop_PART_SRCS})
|
2007-11-04 12:35:51 +00:00
|
|
|
|
2013-09-27 11:43:15 +00:00
|
|
|
target_link_libraries(kcm_kwindesktop
|
|
|
|
Qt5::X11Extras
|
|
|
|
KF5::KCMUtils
|
2013-12-11 20:41:47 +00:00
|
|
|
KF5::Completion
|
2013-12-09 08:33:58 +00:00
|
|
|
KF5::GlobalAccel
|
2013-12-11 20:41:47 +00:00
|
|
|
KF5::I18n
|
|
|
|
KF5::WindowSystem
|
2013-09-27 11:43:15 +00:00
|
|
|
KF5::XmlGui
|
|
|
|
${X11_LIBRARIES}
|
2014-04-04 08:16:42 +00:00
|
|
|
kwin4_effect_builtins
|
2013-09-27 11:43:15 +00:00
|
|
|
)
|
2007-11-04 12:35:51 +00:00
|
|
|
|
|
|
|
install(TARGETS kcm_kwindesktop DESTINATION ${PLUGIN_INSTALL_DIR} )
|
|
|
|
|
|
|
|
|
|
|
|
########### install files ###############
|
|
|
|
install( FILES desktop.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
|
|
|
|