summaryrefslogtreecommitdiffstats
path: root/tdespell2
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-06-25 13:36:35 +0200
committerSlávek Banko <[email protected]>2020-06-25 13:38:09 +0200
commit3e4279ead3d02c6183681a1bad4c9cd678a5b274 (patch)
treeee00ee8ed0beb2dd1c9431f75979cd208d6ee5b2 /tdespell2
parent6e58b61177b415df6e5dd2508074d2f5722a9b9a (diff)
downloadtdelibs-3e4279ead3d02c6183681a1bad4c9cd678a5b274.tar.gz
tdelibs-3e4279ead3d02c6183681a1bad4c9cd678a5b274.zip
Simplify CMake rules for desktop file translations.
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 42f3a62161d1b0c7047d1edfdcb8af72b7314f1b)
Diffstat (limited to 'tdespell2')
-rw-r--r--tdespell2/CMakeLists.txt2
-rw-r--r--tdespell2/plugins/aspell/CMakeLists.txt2
-rw-r--r--tdespell2/plugins/hspell/CMakeLists.txt2
-rw-r--r--tdespell2/plugins/ispell/CMakeLists.txt2
4 files changed, 4 insertions, 4 deletions
diff --git a/tdespell2/CMakeLists.txt b/tdespell2/CMakeLists.txt
index 92f809ce2..6e5d2eafe 100644
--- a/tdespell2/CMakeLists.txt
+++ b/tdespell2/CMakeLists.txt
@@ -43,7 +43,7 @@ install( FILES
tde_create_translated_desktop(
SOURCE tdespellclient.desktop
DESTINATION ${SERVICETYPES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdespell2-desktops
+ PO_DIR tdespell2-desktops
)
diff --git a/tdespell2/plugins/aspell/CMakeLists.txt b/tdespell2/plugins/aspell/CMakeLists.txt
index 30c93f1aa..7a6d1276b 100644
--- a/tdespell2/plugins/aspell/CMakeLists.txt
+++ b/tdespell2/plugins/aspell/CMakeLists.txt
@@ -29,7 +29,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE tdespell_aspell.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdespell2-desktops
+ PO_DIR tdespell2-desktops
)
diff --git a/tdespell2/plugins/hspell/CMakeLists.txt b/tdespell2/plugins/hspell/CMakeLists.txt
index bd4a73ded..4a234b274 100644
--- a/tdespell2/plugins/hspell/CMakeLists.txt
+++ b/tdespell2/plugins/hspell/CMakeLists.txt
@@ -29,7 +29,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE tdespell_hspell.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdespell2-desktops
+ PO_DIR tdespell2-desktops
)
diff --git a/tdespell2/plugins/ispell/CMakeLists.txt b/tdespell2/plugins/ispell/CMakeLists.txt
index 61aed5a19..ed673137b 100644
--- a/tdespell2/plugins/ispell/CMakeLists.txt
+++ b/tdespell2/plugins/ispell/CMakeLists.txt
@@ -28,7 +28,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE tdespell_ispell.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdespell2-desktops
+ PO_DIR tdespell2-desktops
)