From 57d55cfe629741a0c7b4f5d83792ae8546a17cde Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= <slavek.banko@axis.cz>
Date: Wed, 8 Jul 2020 01:19:10 +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 <slavek.banko@axis.cz>
---
 kscd/CMakeLists.txt | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'kscd')

diff --git a/kscd/CMakeLists.txt b/kscd/CMakeLists.txt
index ee3ea4ab..148585be 100644
--- a/kscd/CMakeLists.txt
+++ b/kscd/CMakeLists.txt
@@ -61,13 +61,13 @@ install( PROGRAMS workman2cddb.pl DESTINATION ${BIN_INSTALL_DIR} )
 
 tde_create_translated_desktop(
   SOURCE kscd.desktop
-  PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kscd-desktops
+  PO_DIR kscd-desktops
 )
 
 tde_create_translated_desktop(
   SOURCE xmcd.desktop
   DESTINATION ${MIME_INSTALL_DIR}/text
-  PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kscd-desktops
+  PO_DIR kscd-desktops
 )
 
 install( FILES kscd.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
@@ -77,5 +77,5 @@ install( FILES kscd.profile.xml DESTINATION ${DATA_INSTALL_DIR}/profiles )
 tde_create_translated_desktop(
   SOURCE audiocd_play.desktop
   DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus
-  PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kscd-desktops
+  PO_DIR kscd-desktops
 )
-- 
cgit v1.2.1