summaryrefslogtreecommitdiffstats
path: root/tdelirc
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-07-09 03:24:40 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-07-09 03:27:09 +0200
commit569a752784d81b6a000cc3e58d2c97e43494c41f (patch)
treee3627eb9c4bc85038d51cf354ded243054157c7b /tdelirc
parent898fe8dd6b44689d726ef950a8b6acb25e805ef1 (diff)
downloadtdeutils-569a752784d81b6a000cc3e58d2c97e43494c41f.tar.gz
tdeutils-569a752784d81b6a000cc3e58d2c97e43494c41f.zip
Simplify CMake rules for desktop file translations.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 2fa177c5d6d5801a5a13ff21bf5c3e6757874e03)
Diffstat (limited to 'tdelirc')
-rw-r--r--tdelirc/irkick/CMakeLists.txt2
-rw-r--r--tdelirc/kcmlirc/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/tdelirc/irkick/CMakeLists.txt b/tdelirc/irkick/CMakeLists.txt
index 79b74d2..81b4830 100644
--- a/tdelirc/irkick/CMakeLists.txt
+++ b/tdelirc/irkick/CMakeLists.txt
@@ -52,7 +52,7 @@ tde_install_icons( )
tde_create_translated_desktop(
SOURCE irkick.desktop
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdelirc-desktops
+ PO_DIR tdelirc-desktops
)
install(
diff --git a/tdelirc/kcmlirc/CMakeLists.txt b/tdelirc/kcmlirc/CMakeLists.txt
index 4524bcc..2798fb1 100644
--- a/tdelirc/kcmlirc/CMakeLists.txt
+++ b/tdelirc/kcmlirc/CMakeLists.txt
@@ -44,5 +44,5 @@ tde_add_kpart( kcm_kcmlirc AUTOMOC
tde_create_translated_desktop(
SOURCE kcmlirc.desktop
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdelirc-desktops
+ PO_DIR tdelirc-desktops
)