From 6995f12229909401d978cfd0cce61cb561818633 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 9 Jul 2020 03:24:15 +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 3da95bc474b9b4ebc8d5f43b9eb5a6abcc15f600) --- kworldwatch/CMakeLists.txt | 6 +++--- kworldwatch/maps/depths/CMakeLists.txt | 2 +- kworldwatch/maps/flatworld/CMakeLists.txt | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'kworldwatch') diff --git a/kworldwatch/CMakeLists.txt b/kworldwatch/CMakeLists.txt index 90c9d61..b183050 100644 --- a/kworldwatch/CMakeLists.txt +++ b/kworldwatch/CMakeLists.txt @@ -61,13 +61,13 @@ tde_install_icons( kworldclock ) tde_create_translated_desktop( SOURCE kworldclock.desktop - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kworldwatch-desktops + PO_DIR kworldwatch-desktops ) tde_create_translated_desktop( SOURCE kdeworld.desktop DESTINATION ${DATA_INSTALL_DIR}/kdesktop/programs - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kworldwatch-desktops + PO_DIR kworldwatch-desktops ) install( FILES zone.tab @@ -77,5 +77,5 @@ install( FILES zone.tab tde_create_translated_desktop( SOURCE kwwapplet.desktop DESTINATION ${DATA_INSTALL_DIR}/kicker/applets - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kworldwatch-desktops + PO_DIR kworldwatch-desktops ) diff --git a/kworldwatch/maps/depths/CMakeLists.txt b/kworldwatch/maps/depths/CMakeLists.txt index 2d3d0c5..0b66487 100644 --- a/kworldwatch/maps/depths/CMakeLists.txt +++ b/kworldwatch/maps/depths/CMakeLists.txt @@ -19,5 +19,5 @@ install( tde_create_translated_desktop( SOURCE depths.desktop DESTINATION ${DATA_INSTALL_DIR}/kworldclock/maps/depths - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kworldwatch-maps + PO_DIR kworldwatch-maps ) diff --git a/kworldwatch/maps/flatworld/CMakeLists.txt b/kworldwatch/maps/flatworld/CMakeLists.txt index 0981b13..a7f5541 100644 --- a/kworldwatch/maps/flatworld/CMakeLists.txt +++ b/kworldwatch/maps/flatworld/CMakeLists.txt @@ -19,5 +19,5 @@ install( tde_create_translated_desktop( SOURCE flatworld.desktop DESTINATION ${DATA_INSTALL_DIR}/kworldclock/maps/flatworld - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kworldwatch-maps + PO_DIR kworldwatch-maps ) -- cgit v1.2.1