summaryrefslogtreecommitdiffstats
path: root/kaboodle
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 /kaboodle
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 'kaboodle')
-rw-r--r--kaboodle/CMakeLists.txt14
1 files changed, 6 insertions, 8 deletions
diff --git a/kaboodle/CMakeLists.txt b/kaboodle/CMakeLists.txt
index fc28aed6..85cb017b 100644
--- a/kaboodle/CMakeLists.txt
+++ b/kaboodle/CMakeLists.txt
@@ -75,7 +75,7 @@ tde_add_executable( kaboodle AUTOMOC
tde_create_translated_desktop(
SOURCE kaboodle.desktop
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kaboodle-desktops
+ PO_DIR kaboodle-desktops
)
install(
@@ -83,10 +83,8 @@ install(
DESTINATION ${DATA_INSTALL_DIR}/kaboodle
)
-foreach( _service kaboodle_component.desktop kaboodleengine.desktop )
- tde_create_translated_desktop(
- SOURCE ${_service}
- DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kaboodle-desktops
- )
-endforeach()
+tde_create_translated_desktop(
+ SOURCE kaboodle_component.desktop kaboodleengine.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR kaboodle-desktops
+)