Changeset View
Changeset View
Standalone View
Standalone View
kcmkwin/kwineffects/CMakeLists.txt
- This file was added.
1 | include(ECMQMLModules) | ||||
---|---|---|---|---|---|
2 | ecm_find_qmlmodule(org.kde.plasma.core 2.0) | ||||
3 | | ||||
4 | # KI18N Translation Domain for this library. | ||||
5 | add_definitions(-DTRANSLATION_DOMAIN=\"kcm_kwin_effects\") | ||||
6 | | ||||
7 | ########### next target ############### | ||||
8 | | ||||
9 | set(kcm_kwin_effects_PART_SRCS | ||||
10 | kcm.cpp | ||||
11 | effectsfilterproxymodel.cpp | ||||
12 | ) | ||||
13 | | ||||
14 | add_library(kcm_kwin_effects MODULE ${kcm_kwin_effects_PART_SRCS}) | ||||
15 | | ||||
16 | target_link_libraries(kcm_kwin_effects | ||||
17 | Qt5::DBus | ||||
18 | KF5::I18n | ||||
19 | KF5::KCMUtils | ||||
20 | KF5::NewStuff | ||||
21 | KF5::QuickAddons | ||||
22 | KF5::XmlGui | ||||
23 | kcmkwincommon | ||||
24 | ) | ||||
25 | | ||||
26 | kcoreaddons_desktop_to_json(kcm_kwin_effects "kcm_kwin_effects.desktop") | ||||
27 | | ||||
28 | ########### install files ############### | ||||
29 | | ||||
30 | install(TARGETS kcm_kwin_effects DESTINATION ${KDE_INSTALL_PLUGINDIR}/kcms) | ||||
31 | install(FILES kcm_kwin_effects.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}) | ||||
32 | install(FILES kwineffect.knsrc DESTINATION ${CONFIG_INSTALL_DIR}) | ||||
33 | kpackage_install_package(package kcm_kwin_effects kcms) |