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 --- interfaces/tdemediaplayer/CMakeLists.txt | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'interfaces/tdemediaplayer') diff --git a/interfaces/tdemediaplayer/CMakeLists.txt b/interfaces/tdemediaplayer/CMakeLists.txt index ba0a8c475..549a9a794 100644 --- a/interfaces/tdemediaplayer/CMakeLists.txt +++ b/interfaces/tdemediaplayer/CMakeLists.txt @@ -38,16 +38,13 @@ install( FILES ##### other data ################################ -foreach( _service +tde_create_translated_desktop( + SOURCE tdemediaplayerengine.desktop tdemediaplayer.desktop + DESTINATION ${SERVICETYPES_INSTALL_DIR} + PO_DIR interfaces-desktops ) - tde_create_translated_desktop( - SOURCE ${_service} - DESTINATION ${SERVICETYPES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/interfaces-desktops - ) -endforeach() ##### tdemediaplayer ############################## -- cgit v1.2.1