summaryrefslogtreecommitdiffstats
path: root/kate/plugins
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-06-25 13:36:35 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-06-25 13:36:35 +0200
commit42f3a62161d1b0c7047d1edfdcb8af72b7314f1b (patch)
tree10d7c5a75acd1f12d4685b24cfee471aff6bebf2 /kate/plugins
parentaad2d9434f0357643c6ae388679e1f884c5bc519 (diff)
downloadtdelibs-42f3a62161d1b0c7047d1edfdcb8af72b7314f1b.tar.gz
tdelibs-42f3a62161d1b0c7047d1edfdcb8af72b7314f1b.zip
Simplify CMake rules for desktop file translations.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kate/plugins')
-rw-r--r--kate/plugins/insertfile/CMakeLists.txt2
-rw-r--r--kate/plugins/isearch/CMakeLists.txt2
-rw-r--r--kate/plugins/kdatatool/CMakeLists.txt2
-rw-r--r--kate/plugins/wordcompletion/CMakeLists.txt2
4 files changed, 4 insertions, 4 deletions
diff --git a/kate/plugins/insertfile/CMakeLists.txt b/kate/plugins/insertfile/CMakeLists.txt
index db60547ae..a487611f8 100644
--- a/kate/plugins/insertfile/CMakeLists.txt
+++ b/kate/plugins/insertfile/CMakeLists.txt
@@ -32,7 +32,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE tdetexteditor_insertfile.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kate-desktops
+ PO_DIR kate-desktops
)
install( FILES tdetexteditor_insertfileui.rc DESTINATION ${DATA_INSTALL_DIR}/tdetexteditor_insertfile )
diff --git a/kate/plugins/isearch/CMakeLists.txt b/kate/plugins/isearch/CMakeLists.txt
index b27048597..a7bef9ac5 100644
--- a/kate/plugins/isearch/CMakeLists.txt
+++ b/kate/plugins/isearch/CMakeLists.txt
@@ -30,7 +30,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE tdetexteditor_isearch.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kate-desktops
+ PO_DIR kate-desktops
)
install( FILES tdetexteditor_isearchui.rc DESTINATION ${DATA_INSTALL_DIR}/tdetexteditor_isearch )
diff --git a/kate/plugins/kdatatool/CMakeLists.txt b/kate/plugins/kdatatool/CMakeLists.txt
index 359ffbbc4..593afc743 100644
--- a/kate/plugins/kdatatool/CMakeLists.txt
+++ b/kate/plugins/kdatatool/CMakeLists.txt
@@ -32,7 +32,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE tdetexteditor_kdatatool.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kate-desktops
+ PO_DIR kate-desktops
)
install( FILES tdetexteditor_kdatatoolui.rc DESTINATION ${DATA_INSTALL_DIR}/tdetexteditor_kdatatool )
diff --git a/kate/plugins/wordcompletion/CMakeLists.txt b/kate/plugins/wordcompletion/CMakeLists.txt
index 3dbd24e29..dbdc7e494 100644
--- a/kate/plugins/wordcompletion/CMakeLists.txt
+++ b/kate/plugins/wordcompletion/CMakeLists.txt
@@ -28,7 +28,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE tdetexteditor_docwordcompletion.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kate-desktops
+ PO_DIR kate-desktops
)
install( FILES docwordcompletionui.rc DESTINATION ${DATA_INSTALL_DIR}/tdetexteditor_docwordcompletion )