Changeset View
Changeset View
Standalone View
Standalone View
kcmodule/global/CMakeLists.txt
1 | add_definitions(-DTRANSLATION_DOMAIN=\"powerdevilglobalconfig\") | 1 | add_definitions(-DTRANSLATION_DOMAIN=\"powerdevilglobalconfig\") | ||
---|---|---|---|---|---|
2 | 2 | | |||
3 | set( kcm_powerdevil_global_SRCS | 3 | set( kcm_powerdevil_global_SRCS | ||
4 | GeneralPage.cpp | 4 | GeneralPage.cpp | ||
5 | ) | 5 | ) | ||
6 | 6 | | |||
7 | ki18n_wrap_ui(kcm_powerdevil_global_SRCS | 7 | ki18n_wrap_ui(kcm_powerdevil_global_SRCS | ||
8 | generalPage.ui) | 8 | generalPage.ui) | ||
9 | 9 | | |||
10 | kconfig_add_kcfg_files(kcm_powerdevil_global_SRCS ../../PowerDevilSettings.kcfgc) | 10 | kconfig_add_kcfg_files(kcm_powerdevil_global_SRCS ../../PowerDevilSettings.kcfgc) | ||
11 | 11 | | |||
12 | add_library(kcm_powerdevilglobalconfig MODULE ${kcm_powerdevil_global_SRCS}) | 12 | add_library(kcm_powerdevilglobalconfig MODULE ${kcm_powerdevil_global_SRCS}) | ||
13 | 13 | | |||
14 | target_link_libraries(kcm_powerdevilglobalconfig | 14 | target_link_libraries(kcm_powerdevilglobalconfig | ||
15 | KF5::ConfigWidgets | 15 | KF5::ConfigWidgets | ||
16 | KF5::KIOWidgets | | |||
17 | KF5::NotifyConfig | 16 | KF5::NotifyConfig | ||
18 | powerdevilconfigcommonprivate | 17 | powerdevilconfigcommonprivate | ||
19 | ) | 18 | ) | ||
20 | 19 | | |||
21 | install(TARGETS kcm_powerdevilglobalconfig DESTINATION ${KDE_INSTALL_PLUGINDIR} ) | 20 | install(TARGETS kcm_powerdevilglobalconfig DESTINATION ${KDE_INSTALL_PLUGINDIR} ) | ||
22 | install( FILES powerdevilglobalconfig.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} ) | 21 | install( FILES powerdevilglobalconfig.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} ) |