summaryrefslogtreecommitdiffstats
path: root/tdefile-plugins
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-07-09 03:39:08 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-07-09 03:39:08 +0200
commit31a23879d2e5f0e2c2ef4d8fd3e93b8919c3d172 (patch)
treeea4c0e66fe2658a85365e8168d07020142776010 /tdefile-plugins
parent11072a51109beb71d2d3bf7d8ba26f079d23b48d (diff)
downloadtdeadmin-31a23879d2e5f0e2c2ef4d8fd3e93b8919c3d172.tar.gz
tdeadmin-31a23879d2e5f0e2c2ef4d8fd3e93b8919c3d172.zip
Simplify CMake rules for desktop file translations.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'tdefile-plugins')
-rw-r--r--tdefile-plugins/deb/CMakeLists.txt2
-rw-r--r--tdefile-plugins/rpm/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/tdefile-plugins/deb/CMakeLists.txt b/tdefile-plugins/deb/CMakeLists.txt
index a6503e0..ef9442c 100644
--- a/tdefile-plugins/deb/CMakeLists.txt
+++ b/tdefile-plugins/deb/CMakeLists.txt
@@ -28,5 +28,5 @@ tde_add_kpart( tdefile_deb AUTOMOC
tde_create_translated_desktop(
SOURCE tdefile_deb.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdefile-desktops
+ PO_DIR tdefile-desktops
)
diff --git a/tdefile-plugins/rpm/CMakeLists.txt b/tdefile-plugins/rpm/CMakeLists.txt
index a3e44ef..f96a554 100644
--- a/tdefile-plugins/rpm/CMakeLists.txt
+++ b/tdefile-plugins/rpm/CMakeLists.txt
@@ -28,5 +28,5 @@ tde_add_kpart( tdefile_rpm AUTOMOC
tde_create_translated_desktop(
SOURCE tdefile_rpm.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdefile-desktops
+ PO_DIR tdefile-desktops
)