Changeset View
Changeset View
Standalone View
Standalone View
kcms/ksplash/CMakeLists.txt
1 | # KI18N Translation Domain for this library | 1 | # KI18N Translation Domain for this library | ||
---|---|---|---|---|---|
2 | add_definitions(-DTRANSLATION_DOMAIN=\"kcm_splashscreen\") | 2 | add_definitions(-DTRANSLATION_DOMAIN=\"kcm_splashscreen\") | ||
3 | 3 | | |||
4 | set(kcm_splashscreen_SRCS | 4 | set(kcm_splashscreen_SRCS | ||
5 | kcm.cpp | 5 | kcm.cpp | ||
6 | ) | 6 | ) | ||
7 | 7 | | |||
8 | add_library(kcm_splashscreen MODULE ${kcm_splashscreen_SRCS}) | 8 | add_library(kcm_splashscreen MODULE ${kcm_splashscreen_SRCS}) | ||
9 | 9 | | |||
10 | target_link_libraries(kcm_splashscreen | 10 | target_link_libraries(kcm_splashscreen | ||
11 | KF5::KIOWidgets | 11 | KF5::KIOWidgets | ||
12 | KF5::CoreAddons | 12 | KF5::CoreAddons | ||
13 | KF5::QuickAddons | 13 | KF5::QuickAddons | ||
14 | KF5::I18n | 14 | KF5::I18n | ||
15 | KF5::Plasma | 15 | KF5::Plasma | ||
16 | KF5::PlasmaQuick | 16 | KF5::PlasmaQuick | ||
17 | KF5::NewStuff | ||||
17 | 18 | | |||
18 | Qt5::DBus | 19 | Qt5::DBus | ||
19 | Qt5::Widgets | 20 | Qt5::Widgets | ||
20 | Qt5::QuickWidgets | 21 | Qt5::QuickWidgets | ||
21 | ) | 22 | ) | ||
22 | 23 | | |||
23 | kcoreaddons_desktop_to_json(kcm_splashscreen "kcm_splashscreen.desktop" SERVICE_TYPES kcmodule.desktop) | 24 | kcoreaddons_desktop_to_json(kcm_splashscreen "kcm_splashscreen.desktop" SERVICE_TYPES kcmodule.desktop) | ||
24 | 25 | | |||
25 | #this desktop file is installed only for retrocompatibility with sycoca | 26 | #this desktop file is installed only for retrocompatibility with sycoca | ||
26 | install(FILES kcm_splashscreen.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}) | 27 | install(FILES kcm_splashscreen.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}) | ||
27 | install(TARGETS kcm_splashscreen DESTINATION ${KDE_INSTALL_PLUGINDIR}/kcms) | 28 | install(TARGETS kcm_splashscreen DESTINATION ${KDE_INSTALL_PLUGINDIR}/kcms) | ||
29 | install( FILES ksplash.knsrc DESTINATION ${KDE_INSTALL_CONFDIR} ) | ||||
28 | 30 | | |||
29 | kpackage_install_package(package kcm_splashscreen kcms) | 31 | kpackage_install_package(package kcm_splashscreen kcms) |