summaryrefslogtreecommitdiffstats
path: root/ktuberling/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'ktuberling/CMakeLists.txt')
-rw-r--r--ktuberling/CMakeLists.txt9
1 files changed, 6 insertions, 3 deletions
diff --git a/ktuberling/CMakeLists.txt b/ktuberling/CMakeLists.txt
index d8136023..5fdf5025 100644
--- a/ktuberling/CMakeLists.txt
+++ b/ktuberling/CMakeLists.txt
@@ -36,12 +36,15 @@ tde_install_icons( ktuberling )
##### other data ################################
-install( FILES x-tuberling.desktop
+tde_create_translated_desktop(
+ SOURCE x-tuberling.desktop
DESTINATION ${MIME_INSTALL_DIR}/application
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/ktuberling-desktops
)
-install( FILES ktuberling.desktop
- DESTINATION ${XDG_APPS_INSTALL_DIR}
+tde_create_translated_desktop(
+ SOURCE ktuberling.desktop
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/ktuberling-desktops
)
install( FILES ktuberlingui.rc