From 21fd56c7072548ecf1487c244006157c7af67a32 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 (cherry picked from commit 2a2437b3022a990bc9cded4d07c56a0d093b2a0c) --- kview/kviewviewer/CMakeLists.txt | 2 +- kview/kviewviewer/config/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'kview/kviewviewer') diff --git a/kview/kviewviewer/CMakeLists.txt b/kview/kviewviewer/CMakeLists.txt index c2bfc245..61e738fb 100644 --- a/kview/kviewviewer/CMakeLists.txt +++ b/kview/kviewviewer/CMakeLists.txt @@ -28,7 +28,7 @@ link_directories( tde_create_translated_desktop( SOURCE kviewviewer.desktop DESTINATION ${SERVICES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kview-desktops + PO_DIR kview-desktops ) install( FILES kviewviewer.rc kviewviewer_ro.rc kviewpopup.rc DESTINATION ${DATA_INSTALL_DIR}/kviewviewer ) diff --git a/kview/kviewviewer/config/CMakeLists.txt b/kview/kviewviewer/config/CMakeLists.txt index e0d422dd..7ab9ee80 100644 --- a/kview/kviewviewer/config/CMakeLists.txt +++ b/kview/kviewviewer/config/CMakeLists.txt @@ -25,7 +25,7 @@ link_directories( tde_create_translated_desktop( SOURCE kviewviewerpluginsconfig.desktop DESTINATION ${SERVICES_INSTALL_DIR}/tdeconfiguredialog - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kview-desktops + PO_DIR kview-desktops ) -- cgit v1.2.1