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 --- kfaxview/CMakeLists.txt | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'kfaxview') diff --git a/kfaxview/CMakeLists.txt b/kfaxview/CMakeLists.txt index df43f9d0..a50133bb 100644 --- a/kfaxview/CMakeLists.txt +++ b/kfaxview/CMakeLists.txt @@ -33,18 +33,16 @@ tde_install_icons( kfaxview ) tde_create_translated_desktop( SOURCE kfaxview.desktop - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kfaxview-desktops + PO_DIR kfaxview-desktops ) install( FILES ${CMAKE_SOURCE_DIR}/kviewshell/kviewshell.rc DESTINATION ${DATA_INSTALL_DIR}/kfaxview/kviewshell.rc ) -foreach( _desktop kfaxmultipage.desktop kfaxmultipage_tiff.desktop ) - tde_create_translated_desktop( - SOURCE ${_desktop} - DESTINATION ${SERVICES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kfaxview-desktops - ) -endforeach() +tde_create_translated_desktop( + SOURCE kfaxmultipage.desktop kfaxmultipage_tiff.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR kfaxview-desktops +) #### kfaxviewpart (module) ###################### -- cgit v1.2.1