summaryrefslogtreecommitdiffstats
path: root/kmilo/thinkpad
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 /kmilo/thinkpad
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 'kmilo/thinkpad')
-rw-r--r--kmilo/thinkpad/CMakeLists.txt2
-rw-r--r--kmilo/thinkpad/kcmthinkpad/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/kmilo/thinkpad/CMakeLists.txt b/kmilo/thinkpad/CMakeLists.txt
index 95c5927..148d03b 100644
--- a/kmilo/thinkpad/CMakeLists.txt
+++ b/kmilo/thinkpad/CMakeLists.txt
@@ -40,5 +40,5 @@ tde_add_kpart( kmilo_thinkpad AUTOMOC
tde_create_translated_desktop(
SOURCE kmilo_thinkpad.desktop
DESTINATION ${SERVICES_INSTALL_DIR}/kmilo
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kmilo-desktops
+ PO_DIR kmilo-desktops
)
diff --git a/kmilo/thinkpad/kcmthinkpad/CMakeLists.txt b/kmilo/thinkpad/kcmthinkpad/CMakeLists.txt
index c3568f2..d550a6c 100644
--- a/kmilo/thinkpad/kcmthinkpad/CMakeLists.txt
+++ b/kmilo/thinkpad/kcmthinkpad/CMakeLists.txt
@@ -39,5 +39,5 @@ tde_add_kpart( kcm_thinkpad AUTOMOC
tde_create_translated_desktop(
SOURCE thinkpad.desktop
DESTINATION ${XDG_APPS_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kmilo-desktops
+ PO_DIR kmilo-desktops
)