summaryrefslogtreecommitdiffstats
path: root/tdewallet/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-07-09 03:24:40 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-07-09 03:27:09 +0200
commit569a752784d81b6a000cc3e58d2c97e43494c41f (patch)
treee3627eb9c4bc85038d51cf354ded243054157c7b /tdewallet/CMakeLists.txt
parent898fe8dd6b44689d726ef950a8b6acb25e805ef1 (diff)
downloadtdeutils-569a752784d81b6a000cc3e58d2c97e43494c41f.tar.gz
tdeutils-569a752784d81b6a000cc3e58d2c97e43494c41f.zip
Simplify CMake rules for desktop file translations.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 2fa177c5d6d5801a5a13ff21bf5c3e6757874e03)
Diffstat (limited to 'tdewallet/CMakeLists.txt')
-rw-r--r--tdewallet/CMakeLists.txt10
1 files changed, 4 insertions, 6 deletions
diff --git a/tdewallet/CMakeLists.txt b/tdewallet/CMakeLists.txt
index 659d654..ed42c23 100644
--- a/tdewallet/CMakeLists.txt
+++ b/tdewallet/CMakeLists.txt
@@ -48,9 +48,7 @@ install( FILES tdewalletmanager.rc tdewalleteditor.rc
DESTINATION ${DATA_INSTALL_DIR}/tdewalletmanager
)
-foreach( _desktop tdewalletmanager.desktop tdewalletmanager-tdewalletd.desktop )
- tde_create_translated_desktop(
- SOURCE ${_desktop}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdewallet-desktops
- )
-endforeach()
+tde_create_translated_desktop(
+ SOURCE tdewalletmanager.desktop tdewalletmanager-tdewalletd.desktop
+ PO_DIR tdewallet-desktops
+)