From a2177ee5555fb5491d4d75f279b68b0b7252b36f Mon Sep 17 00:00:00 2001 From: Ray-V Date: Tue, 13 Jul 2021 19:41:35 +0000 Subject: Replaced install() with tde_create_translated_desktop() for .desktop files in relevant CMakeLists.txt Signed-off-by: Ray-V --- amarok/src/mediadevice/mtp/CMakeLists.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'amarok/src/mediadevice/mtp/CMakeLists.txt') diff --git a/amarok/src/mediadevice/mtp/CMakeLists.txt b/amarok/src/mediadevice/mtp/CMakeLists.txt index b58f0605..e25c5217 100644 --- a/amarok/src/mediadevice/mtp/CMakeLists.txt +++ b/amarok/src/mediadevice/mtp/CMakeLists.txt @@ -27,9 +27,10 @@ link_directories( ##### other data ################################ -install( FILES - amarok_mtp-mediadevice.desktop - DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE amarok_mtp-mediadevice.desktop + DESTINATION ${SERVICES_INSTALL_DIR} +) ##### libamarok_mtp-mediadevice (module) ######## -- cgit v1.2.1