summaryrefslogtreecommitdiffstats
path: root/krec/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'krec/CMakeLists.txt')
-rw-r--r--krec/CMakeLists.txt18
1 files changed, 8 insertions, 10 deletions
diff --git a/krec/CMakeLists.txt b/krec/CMakeLists.txt
index 834cb1f7..c5aadced 100644
--- a/krec/CMakeLists.txt
+++ b/krec/CMakeLists.txt
@@ -113,29 +113,27 @@ tde_add_kpart( libkrecexport_wave AUTOMOC
tde_create_translated_desktop(
SOURCE krec.desktop
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/krec-desktops
+ PO_DIR krec-desktops
)
install( FILES krecui.rc DESTINATION ${DATA_INSTALL_DIR}/krec )
-foreach( _service kcm_krec.desktop kcm_krec_files.desktop )
- tde_create_translated_desktop(
- SOURCE ${_service}
- DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/krec-desktops
- )
-endforeach()
+tde_create_translated_desktop(
+ SOURCE kcm_krec.desktop kcm_krec_files.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR krec-desktops
+)
install( FILES tips DESTINATION ${DATA_INSTALL_DIR}/krec )
tde_create_translated_desktop(
SOURCE krec_exportitem.desktop
DESTINATION ${SERVICETYPES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/krec-desktops
+ PO_DIR krec-desktops
)
tde_create_translated_desktop(
SOURCE krec_exportwave.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/krec-desktops
+ PO_DIR krec-desktops
)