diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-07-09 03:24:40 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-07-09 03:27:09 +0200 |
commit | 569a752784d81b6a000cc3e58d2c97e43494c41f (patch) | |
tree | e3627eb9c4bc85038d51cf354ded243054157c7b /klaptopdaemon/applnk | |
parent | 898fe8dd6b44689d726ef950a8b6acb25e805ef1 (diff) | |
download | tdeutils-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 'klaptopdaemon/applnk')
-rw-r--r-- | klaptopdaemon/applnk/CMakeLists.txt | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/klaptopdaemon/applnk/CMakeLists.txt b/klaptopdaemon/applnk/CMakeLists.txt index 095cd06..e5c8003 100644 --- a/klaptopdaemon/applnk/CMakeLists.txt +++ b/klaptopdaemon/applnk/CMakeLists.txt @@ -9,15 +9,13 @@ # ################################################# -foreach( _desktop laptop.desktop pcmcia.desktop ) - tde_create_translated_desktop( - SOURCE ${_desktop} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/klaptopdaemon-desktops - ) -endforeach() +tde_create_translated_desktop( + SOURCE laptop.desktop pcmcia.desktop + PO_DIR klaptopdaemon-desktops +) tde_create_translated_desktop( SOURCE klaptopdaemon.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kded - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/klaptopdaemon-desktops + PO_DIR klaptopdaemon-desktops ) |