From 8e9bbb67d12093ea9332cd765a748c68379446a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Fri, 10 Jul 2020 03:09:26 +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 --- src/servicemenus/CMakeLists.txt | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/servicemenus') diff --git a/src/servicemenus/CMakeLists.txt b/src/servicemenus/CMakeLists.txt index 96e5803..102be68 100644 --- a/src/servicemenus/CMakeLists.txt +++ b/src/servicemenus/CMakeLists.txt @@ -1,9 +1,7 @@ file( GLOB _services RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.desktop ) -foreach( _service ${_services} ) - tde_create_translated_desktop( - SOURCE ${_service} +tde_create_translated_desktop( + SOURCE ${_services} DESTINATION ${DATA_INSTALL_DIR}/d3lphin/servicemenus - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/servicemenus - ) -endforeach( ) + PO_DIR servicemenus +) -- cgit v1.2.1