summaryrefslogtreecommitdiffstats
path: root/kig/tdefile
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-07-09 03:35:29 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-07-09 03:35:29 +0200
commitb845a73b7eb95f7928b2079b8a594a6b7b2ccb7d (patch)
tree79ca22951a02842a86a5541461ad44da10e2eb56 /kig/tdefile
parent1e72386cece59edb0f54a88abe41dab15b731edd (diff)
downloadtdeedu-b845a73b7eb95f7928b2079b8a594a6b7b2ccb7d.tar.gz
tdeedu-b845a73b7eb95f7928b2079b8a594a6b7b2ccb7d.zip
Simplify CMake rules for desktop file translations.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kig/tdefile')
-rw-r--r--kig/tdefile/CMakeLists.txt12
1 files changed, 5 insertions, 7 deletions
diff --git a/kig/tdefile/CMakeLists.txt b/kig/tdefile/CMakeLists.txt
index 9d4ad579..0f74ec84 100644
--- a/kig/tdefile/CMakeLists.txt
+++ b/kig/tdefile/CMakeLists.txt
@@ -44,10 +44,8 @@ tde_add_kpart( tdefile_kig AUTOMOC
##### other data
-foreach( _tdefile tdefile_drgeo.desktop tdefile_kig.desktop )
- tde_create_translated_desktop(
- SOURCE ${_tdefile}
- DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kig-tdefile
- )
-endforeach()
+tde_create_translated_desktop(
+ SOURCE tdefile_drgeo.desktop tdefile_kig.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR kig-tdefile
+)