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 /kgpg/CMakeLists.txt | |
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 'kgpg/CMakeLists.txt')
-rw-r--r-- | kgpg/CMakeLists.txt | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/kgpg/CMakeLists.txt b/kgpg/CMakeLists.txt index ef72aab..7f6540b 100644 --- a/kgpg/CMakeLists.txt +++ b/kgpg/CMakeLists.txt @@ -59,7 +59,7 @@ install( FILES kgpg_anim.gif kgpg_docked.png tde_create_translated_desktop( SOURCE kgpg.desktop - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kgpg-desktops + PO_DIR kgpg-desktops ) install( @@ -71,13 +71,11 @@ install( FILES kgpg.rc listkeys.rc tips DESTINATION ${DATA_INSTALL_DIR}/kgpg ) -foreach( _desktop encryptfile.desktop encryptfolder.desktop ) - tde_create_translated_desktop( - SOURCE ${_desktop} - DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kgpg-desktops - ) -endforeach() +tde_create_translated_desktop( + SOURCE encryptfile.desktop encryptfolder.desktop + DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus + PO_DIR kgpg-desktops +) install( FILES kgpg.kcfg DESTINATION ${KCFG_INSTALL_DIR} |