From 42f3a62161d1b0c7047d1edfdcb8af72b7314f1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 25 Jun 2020 13:36:35 +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 --- tdeparts/CMakeLists.txt | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'tdeparts') 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 ##################################### -- cgit v1.2.1