summaryrefslogtreecommitdiffstats
path: root/tderesources
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-06-25 13:36:35 +0200
committerSlávek Banko <[email protected]>2020-06-25 13:36:35 +0200
commit42f3a62161d1b0c7047d1edfdcb8af72b7314f1b (patch)
tree10d7c5a75acd1f12d4685b24cfee471aff6bebf2 /tderesources
parentaad2d9434f0357643c6ae388679e1f884c5bc519 (diff)
downloadtdelibs-42f3a62161d1b0c7047d1edfdcb8af72b7314f1b.tar.gz
tdelibs-42f3a62161d1b0c7047d1edfdcb8af72b7314f1b.zip
Simplify CMake rules for desktop file translations.
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'tderesources')
-rw-r--r--tderesources/CMakeLists.txt14
1 files changed, 6 insertions, 8 deletions
diff --git a/tderesources/CMakeLists.txt b/tderesources/CMakeLists.txt
index d3f9c5f30..32bde2f7f 100644
--- a/tderesources/CMakeLists.txt
+++ b/tderesources/CMakeLists.txt
@@ -38,17 +38,15 @@ install( FILES
##### other data ################################
-foreach( _desktop tderesources_plugin.desktop tderesources_manager.desktop )
- tde_create_translated_desktop(
- SOURCE ${_desktop}
- DESTINATION ${SERVICETYPES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tderesources-desktops
- )
-endforeach()
+tde_create_translated_desktop(
+ SOURCE tderesources_plugin.desktop tderesources_manager.desktop
+ DESTINATION ${SERVICETYPES_INSTALL_DIR}
+ PO_DIR tderesources-desktops
+)
tde_create_translated_desktop(
SOURCE tderesources.desktop
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tderesources-desktops
+ PO_DIR tderesources-desktops
)