2019-02-02 20:49:38 +00:00
|
|
|
include(ECMQMLModules)
|
|
|
|
ecm_find_qmlmodule(org.kde.plasma.core 2.0)
|
|
|
|
|
|
|
|
# KI18N Translation Domain for this library.
|
|
|
|
add_definitions(-DTRANSLATION_DOMAIN=\"kcm_kwin_effects\")
|
|
|
|
|
|
|
|
########### next target ###############
|
|
|
|
|
|
|
|
set(kcm_kwin_effects_PART_SRCS
|
|
|
|
kcm.cpp
|
|
|
|
effectsfilterproxymodel.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
add_library(kcm_kwin_effects MODULE ${kcm_kwin_effects_PART_SRCS})
|
|
|
|
|
|
|
|
target_link_libraries(kcm_kwin_effects
|
|
|
|
KF5::I18n
|
|
|
|
KF5::KCMUtils
|
|
|
|
KF5::NewStuff
|
|
|
|
KF5::QuickAddons
|
|
|
|
KF5::XmlGui
|
2019-09-17 09:15:35 +00:00
|
|
|
Qt5::DBus
|
2019-02-02 20:49:38 +00:00
|
|
|
kcmkwincommon
|
|
|
|
)
|
|
|
|
|
|
|
|
kcoreaddons_desktop_to_json(kcm_kwin_effects "kcm_kwin_effects.desktop")
|
|
|
|
|
|
|
|
########### install files ###############
|
|
|
|
|
|
|
|
install(TARGETS kcm_kwin_effects DESTINATION ${KDE_INSTALL_PLUGINDIR}/kcms)
|
|
|
|
install(FILES kcm_kwin_effects.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
|
2019-05-17 16:56:27 +00:00
|
|
|
install(FILES kwineffect.knsrc DESTINATION ${KDE_INSTALL_KNSRCDIR})
|
2019-02-02 20:49:38 +00:00
|
|
|
kpackage_install_package(package kcm_kwin_effects kcms)
|