diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-07-08 01:20:52 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-07-08 01:20:52 +0200 |
commit | 2a2437b3022a990bc9cded4d07c56a0d093b2a0c (patch) | |
tree | d00dc0c66bbaf157634036e8827011d2eb8ffd4b /kcoloredit | |
parent | 4421872bb29f158a742d84d0c5b06106763427f1 (diff) | |
download | tdegraphics-2a2437b3022a990bc9cded4d07c56a0d093b2a0c.tar.gz tdegraphics-2a2437b3022a990bc9cded4d07c56a0d093b2a0c.zip |
Simplify CMake rules for desktop file translations.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kcoloredit')
-rw-r--r-- | kcoloredit/CMakeLists.txt | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/kcoloredit/CMakeLists.txt b/kcoloredit/CMakeLists.txt index 9fe840cc..ddd209b2 100644 --- a/kcoloredit/CMakeLists.txt +++ b/kcoloredit/CMakeLists.txt @@ -25,12 +25,10 @@ link_directories( tde_install_icons( kcoloredit kcolorchooser ) -foreach( _desktop kcoloredit.desktop kcolorchooser.desktop ) - tde_create_translated_desktop( - SOURCE ${_desktop} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kcoloredit-desktops +tde_create_translated_desktop( + SOURCE kcoloredit.desktop kcolorchooser.desktop + PO_DIR kcoloredit-desktops ) -endforeach() install( FILES kcoloreditui.rc |