diff options
Diffstat (limited to 'kwordquiz/src/CMakeLists.txt')
-rw-r--r-- | kwordquiz/src/CMakeLists.txt | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/kwordquiz/src/CMakeLists.txt b/kwordquiz/src/CMakeLists.txt index 4e0b5cad..881a9e7a 100644 --- a/kwordquiz/src/CMakeLists.txt +++ b/kwordquiz/src/CMakeLists.txt @@ -73,18 +73,25 @@ tde_add_executable( kwordquiz AUTOMOC ##### other data install( - FILES kwordquizui.rc eventsrc + FILES kwordquizui.rc DESTINATION ${DATA_INSTALL_DIR}/kwordquiz ) -install( - FILES kwordquiz.desktop - DESTINATION ${XDG_APPS_INSTALL_DIR} +tde_create_translated_desktop( + SOURCE eventsrc + DESTINATION ${DATA_INSTALL_DIR}/kwordquiz + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kwordquiz-events ) -install( - FILES x-kwordquiz.desktop +tde_create_translated_desktop( + SOURCE kwordquiz.desktop + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kwordquiz-desktops +) + +tde_create_translated_desktop( + SOURCE x-kwordquiz.desktop DESTINATION ${MIME_INSTALL_DIR}/application + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kwordquiz-desktops ) install( @@ -96,4 +103,3 @@ install( FILES kwordquizrc DESTINATION ${CONFIG_INSTALL_DIR} ) - |