summaryrefslogtreecommitdiffstats
path: root/ksysv/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'ksysv/CMakeLists.txt')
-rw-r--r--ksysv/CMakeLists.txt13
1 files changed, 9 insertions, 4 deletions
diff --git a/ksysv/CMakeLists.txt b/ksysv/CMakeLists.txt
index 223bc80..219ed08 100644
--- a/ksysv/CMakeLists.txt
+++ b/ksysv/CMakeLists.txt
@@ -42,14 +42,19 @@ install( FILES ksysvui.rc
DESTINATION ${DATA_INSTALL_DIR}/ksysv
)
-install( FILES ksysv.desktop
- DESTINATION ${XDG_APPS_INSTALL_DIR}
+tde_create_translated_desktop(
+ SOURCE ksysv.desktop
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/ksysv-desktops
)
-install( FILES x-ksysv-log.desktop
+tde_create_translated_desktop(
+ SOURCE x-ksysv-log.desktop
DESTINATION ${MIME_INSTALL_DIR}/text
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/ksysv-desktops
)
-install( FILES x-ksysv.desktop
+tde_create_translated_desktop(
+ SOURCE x-ksysv.desktop
DESTINATION ${MIME_INSTALL_DIR}/application
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/ksysv-desktops
)