summaryrefslogtreecommitdiffstats
path: root/ksame/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'ksame/CMakeLists.txt')
-rw-r--r--ksame/CMakeLists.txt11
1 files changed, 8 insertions, 3 deletions
diff --git a/ksame/CMakeLists.txt b/ksame/CMakeLists.txt
index 1f81e2b4..529e33c8 100644
--- a/ksame/CMakeLists.txt
+++ b/ksame/CMakeLists.txt
@@ -30,10 +30,15 @@ tde_install_icons( ksame )
##### other data ################################
-install( FILES stones.png ksameui.rc eventsrc
+install(
+ FILES stones.png ksameui.rc
DESTINATION ${DATA_INSTALL_DIR}/ksame
)
-install( FILES ksame.desktop
- DESTINATION ${XDG_APPS_INSTALL_DIR}
+tde_create_translated_desktop(
+ SOURCE eventsrc
+ DESTINATION ${DATA_INSTALL_DIR}/ksame
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/ksame-eventsrc
)
+
+tde_create_translated_desktop( ksame.desktop )