summaryrefslogtreecommitdiffstats
path: root/interfaces/tdetexteditor/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'interfaces/tdetexteditor/CMakeLists.txt')
-rw-r--r--interfaces/tdetexteditor/CMakeLists.txt13
1 files changed, 5 insertions, 8 deletions
diff --git a/interfaces/tdetexteditor/CMakeLists.txt b/interfaces/tdetexteditor/CMakeLists.txt
index 1849af27e..fdfdf228f 100644
--- a/interfaces/tdetexteditor/CMakeLists.txt
+++ b/interfaces/tdetexteditor/CMakeLists.txt
@@ -51,22 +51,19 @@ install( FILES
##### other data ################################
-foreach( _service
+tde_create_translated_desktop(
+ SOURCE
tdetexteditor.desktop
tdetexteditoreditor.desktop
tdetexteditorplugin.desktop
+ DESTINATION ${SERVICETYPES_INSTALL_DIR}
+ PO_DIR interfaces-desktops
)
- tde_create_translated_desktop(
- SOURCE ${_service}
- DESTINATION ${SERVICETYPES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/interfaces-desktops
- )
-endforeach()
tde_create_translated_desktop(
SOURCE kcm_tdetexteditor.desktop
DESTINATION ${DATA_INSTALL_DIR}/kcm_componentchooser
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/interfaces-desktops
+ PO_DIR interfaces-desktops
)