From 2a2437b3022a990bc9cded4d07c56a0d093b2a0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Wed, 8 Jul 2020 01:20:52 +0200 Subject: Simplify CMake rules for desktop file translations. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- kcoloredit/CMakeLists.txt | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'kcoloredit') 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 -- cgit v1.2.1