summaryrefslogtreecommitdiffstats
path: root/kbackgammon/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'kbackgammon/CMakeLists.txt')
-rw-r--r--kbackgammon/CMakeLists.txt12
1 files changed, 9 insertions, 3 deletions
diff --git a/kbackgammon/CMakeLists.txt b/kbackgammon/CMakeLists.txt
index 9d6eaef3..5f66ebd3 100644
--- a/kbackgammon/CMakeLists.txt
+++ b/kbackgammon/CMakeLists.txt
@@ -40,10 +40,16 @@ tde_add_executable( kbackgammon AUTOMOC
##### other data ################################
-install( FILES kbackgammon.desktop
- DESTINATION ${XDG_APPS_INSTALL_DIR}
+
+tde_create_translated_desktop( kbackgammon.desktop )
+
+tde_create_translated_desktop(
+ SOURCE eventsrc
+ DESTINATION ${DATA_INSTALL_DIR}/kbackgammon
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kbackgammon-eventsrc
)
-install( FILES kbackgammonui.rc eventsrc
+install(
+ FILES kbackgammonui.rc
DESTINATION ${DATA_INSTALL_DIR}/kbackgammon
)