diff options
Diffstat (limited to 'kbattleship/kbattleship/CMakeLists.txt')
-rw-r--r-- | kbattleship/kbattleship/CMakeLists.txt | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/kbattleship/kbattleship/CMakeLists.txt b/kbattleship/kbattleship/CMakeLists.txt index 327db4a5..2074501e 100644 --- a/kbattleship/kbattleship/CMakeLists.txt +++ b/kbattleship/kbattleship/CMakeLists.txt @@ -45,14 +45,20 @@ tde_add_executable( kbattleship AUTOMOC ##### other data ################################ -install( FILES kbattleshipui.rc eventsrc + +install( + FILES kbattleshipui.rc DESTINATION ${DATA_INSTALL_DIR}/kbattleship ) -install( FILES kbattleship.desktop - DESTINATION ${XDG_APPS_INSTALL_DIR} +tde_create_translated_desktop( + SOURCE eventsrc + DESTINATION ${DATA_INSTALL_DIR}/kbattleship + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kbattleship-eventsrc ) +tde_create_translated_desktop( kbattleship.desktop ) + install( FILES _kbattleship._tcp DESTINATION ${DATA_INSTALL_DIR}/zeroconf ) |