summaryrefslogtreecommitdiffstats
path: root/kdf/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-07-09 03:24:40 +0200
committerSlávek Banko <[email protected]>2020-07-09 03:24:40 +0200
commit2fa177c5d6d5801a5a13ff21bf5c3e6757874e03 (patch)
treeb1f89091a3c7d4ead83f215596c7e2382c3af2c3 /kdf/CMakeLists.txt
parent6afcd26d9e618e16f646bfefd33e30aa3c653798 (diff)
downloadtdeutils-2fa177c5d6d5801a5a13ff21bf5c3e6757874e03.tar.gz
tdeutils-2fa177c5d6d5801a5a13ff21bf5c3e6757874e03.zip
Simplify CMake rules for desktop file translations.
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'kdf/CMakeLists.txt')
-rw-r--r--kdf/CMakeLists.txt10
1 files changed, 4 insertions, 6 deletions
diff --git a/kdf/CMakeLists.txt b/kdf/CMakeLists.txt
index 723b9d8..dc67af4 100644
--- a/kdf/CMakeLists.txt
+++ b/kdf/CMakeLists.txt
@@ -67,9 +67,7 @@ install( FILES kdfui.rc
DESTINATION ${DATA_INSTALL_DIR}/kdf
)
-foreach( _desktop kdf.desktop kwikdisk.desktop kcmdf.desktop )
- tde_create_translated_desktop(
- SOURCE ${_desktop}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kdf-desktops
- )
-endforeach()
+tde_create_translated_desktop(
+ SOURCE kdf.desktop kwikdisk.desktop kcmdf.desktop
+ PO_DIR kdf-desktops
+)