summaryrefslogtreecommitdiffstats
path: root/tdemid/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tdemid/CMakeLists.txt')
-rw-r--r--tdemid/CMakeLists.txt13
1 files changed, 11 insertions, 2 deletions
diff --git a/tdemid/CMakeLists.txt b/tdemid/CMakeLists.txt
index dfab0c5b..fd9f5989 100644
--- a/tdemid/CMakeLists.txt
+++ b/tdemid/CMakeLists.txt
@@ -84,8 +84,17 @@ add_custom_target( instrname.i18n
##### other data ################################
-install( FILES tdemid.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
-install( FILES x-karaoke.desktop DESTINATION ${MIME_INSTALL_DIR}/audio )
+tde_create_translated_desktop(
+ SOURCE tdemid.desktop
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdemid-desktops
+)
+
+tde_create_translated_desktop(
+ SOURCE x-karaoke.desktop
+ DESTINATION ${MIME_INSTALL_DIR}/audio
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdemid-desktops
+)
+
install( FILES tdemidui.rc DESTINATION ${DATA_INSTALL_DIR}/tdemid )
install( FILES tdemid_partui.rc DESTINATION ${DATA_INSTALL_DIR}/tdemid )
install( FILES audiomidi.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )