summaryrefslogtreecommitdiffstats
path: root/kappfinder-data
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-07-08 01:19:10 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-07-08 01:19:10 +0200
commit57d55cfe629741a0c7b4f5d83792ae8546a17cde (patch)
tree4a01dbdb5ea438ae14dafde1c2d3771d79d6854e /kappfinder-data
parentedc9d1c6c8b1b09071e42779391d141f5056d2bd (diff)
downloadtdemultimedia-57d55cfe629741a0c7b4f5d83792ae8546a17cde.tar.gz
tdemultimedia-57d55cfe629741a0c7b4f5d83792ae8546a17cde.zip
Simplify CMake rules for desktop file translations.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kappfinder-data')
-rw-r--r--kappfinder-data/CMakeLists.txt15
1 files changed, 7 insertions, 8 deletions
diff --git a/kappfinder-data/CMakeLists.txt b/kappfinder-data/CMakeLists.txt
index c1974fdb..75ce5026 100644
--- a/kappfinder-data/CMakeLists.txt
+++ b/kappfinder-data/CMakeLists.txt
@@ -11,18 +11,17 @@
file( GLOB _multimedia_desktops RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.desktop )
list( SORT _multimedia_desktops )
-foreach( _desktop IN LISTS _multimedia_desktops )
- tde_create_translated_desktop(
- SOURCE ${_desktop}
- DESTINATION ${DATA_INSTALL_DIR}/kappfinder/apps/Multimedia
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kappfinder-data
- )
-endforeach()
+
+tde_create_translated_desktop(
+ SOURCE ${_multimedia_desktops}
+ DESTINATION ${DATA_INSTALL_DIR}/kappfinder/apps/Multimedia
+ PO_DIR kappfinder-data
+)
tde_create_translated_desktop(
SOURCE tde-multimedia-music.directory
DESTINATION ${XDG_DIRECTORY_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kappfinder-data
+ PO_DIR kappfinder-data
)
install(