diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-06-25 13:36:35 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-06-25 13:38:09 +0200 |
commit | 3e4279ead3d02c6183681a1bad4c9cd678a5b274 (patch) | |
tree | ee00ee8ed0beb2dd1c9431f75979cd208d6ee5b2 /tdeparts | |
parent | 6e58b61177b415df6e5dd2508074d2f5722a9b9a (diff) | |
download | tdelibs-3e4279ead3d02c6183681a1bad4c9cd678a5b274.tar.gz tdelibs-3e4279ead3d02c6183681a1bad4c9cd678a5b274.zip |
Simplify CMake rules for desktop file translations.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 42f3a62161d1b0c7047d1edfdcb8af72b7314f1b)
Diffstat (limited to 'tdeparts')
-rw-r--r-- | tdeparts/CMakeLists.txt | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/tdeparts/CMakeLists.txt b/tdeparts/CMakeLists.txt index 497b82ced..15029bf73 100644 --- a/tdeparts/CMakeLists.txt +++ b/tdeparts/CMakeLists.txt @@ -40,15 +40,12 @@ install( FILES ##### other data ################################ -foreach( _desktop +tde_create_translated_desktop( + SOURCE kpart.desktop krop.desktop krwp.desktop browserview.desktop + DESTINATION ${SERVICETYPES_INSTALL_DIR} + PO_DIR tdeparts-desktops ) - tde_create_translated_desktop( - SOURCE ${_desktop} - DESTINATION ${SERVICETYPES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeparts-desktops - ) -endforeach() #### tdeparts ##################################### |