Changeset View
Changeset View
Standalone View
Standalone View
kcms/desktoppaths/CMakeLists.txt
1 | # KI18N Translation Domain for this library | 1 | # KI18N Translation Domain for this library | ||
---|---|---|---|---|---|
2 | add_definitions(-DTRANSLATION_DOMAIN=\"kcm_desktoppaths\") | 2 | add_definitions(-DTRANSLATION_DOMAIN=\"kcm_desktoppaths\") | ||
3 | 3 | | |||
4 | set(kcm_desktoppaths_PART_SRCS | 4 | set(kcm_desktoppaths_PART_SRCS | ||
5 | globalpaths.cpp | 5 | globalpaths.cpp | ||
6 | desktoppathssettings.cpp | 6 | desktoppathssettings.cpp | ||
7 | ) | 7 | ) | ||
8 | 8 | | |||
9 | ki18n_wrap_ui(kcm_desktoppaths_PART_SRCS globalpaths.ui) | ||||
10 | | ||||
9 | add_library(kcm_desktoppaths MODULE ${kcm_desktoppaths_PART_SRCS}) | 11 | add_library(kcm_desktoppaths MODULE ${kcm_desktoppaths_PART_SRCS}) | ||
10 | 12 | | |||
11 | target_link_libraries(kcm_desktoppaths | 13 | target_link_libraries(kcm_desktoppaths | ||
12 | KF5::KCMUtils | 14 | KF5::KCMUtils | ||
13 | KF5::I18n | 15 | KF5::I18n | ||
14 | KF5::KIOCore | 16 | KF5::KIOCore | ||
15 | KF5::KIOWidgets | 17 | KF5::KIOWidgets | ||
16 | ) | 18 | ) | ||
17 | 19 | | |||
18 | install(TARGETS kcm_desktoppaths DESTINATION ${KDE_INSTALL_PLUGINDIR}) | 20 | install(TARGETS kcm_desktoppaths DESTINATION ${KDE_INSTALL_PLUGINDIR}) | ||
19 | install(FILES desktoppath.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}) | 21 | install(FILES desktoppath.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}) | ||
20 | 22 | |