summaryrefslogtreecommitdiffstats
path: root/kteatime/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'kteatime/CMakeLists.txt')
-rw-r--r--kteatime/CMakeLists.txt9
1 files changed, 4 insertions, 5 deletions
diff --git a/kteatime/CMakeLists.txt b/kteatime/CMakeLists.txt
index a512391..22311fd 100644
--- a/kteatime/CMakeLists.txt
+++ b/kteatime/CMakeLists.txt
@@ -41,11 +41,10 @@ tde_install_icons(
##### other data ################################
-install( FILES eventsrc
+tde_create_translated_desktop(
+ SOURCE eventsrc
DESTINATION ${DATA_INSTALL_DIR}/kteatime
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kteatime-eventsrc
)
-install( FILES kteatime.desktop
- DESTINATION ${XDG_APPS_INSTALL_DIR}
-)
-
+tde_create_translated_desktop( kteatime.desktop )