From 3788d0cdb102c498697a490a8d6417841eee10e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Fri, 10 Jul 2020 03:18:03 +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/CMakeLists.txt | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index d4cc44d..43e81e7 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -116,14 +116,9 @@ install( tde_create_translated_desktop( SOURCE kbibtex_part.desktop DESTINATION ${SERVICES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files ) -tde_create_translated_desktop( - SOURCE ${PROJECT_NAME}.desktop - DESTINATION ${XDG_APPS_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files -) +tde_create_translated_desktop( ${PROJECT_NAME}.desktop ) install( FILES kbibtex_part.rc -- cgit v1.2.1