diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-06-25 13:36:35 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-06-25 13:36:35 +0200 |
commit | 42f3a62161d1b0c7047d1edfdcb8af72b7314f1b (patch) | |
tree | 10d7c5a75acd1f12d4685b24cfee471aff6bebf2 /mimetypes/audio | |
parent | aad2d9434f0357643c6ae388679e1f884c5bc519 (diff) | |
download | tdelibs-42f3a62161d1b0c7047d1edfdcb8af72b7314f1b.tar.gz tdelibs-42f3a62161d1b0c7047d1edfdcb8af72b7314f1b.zip |
Simplify CMake rules for desktop file translations.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'mimetypes/audio')
-rw-r--r-- | mimetypes/audio/CMakeLists.txt | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/mimetypes/audio/CMakeLists.txt b/mimetypes/audio/CMakeLists.txt index 5a588d90b..55719803a 100644 --- a/mimetypes/audio/CMakeLists.txt +++ b/mimetypes/audio/CMakeLists.txt @@ -11,7 +11,8 @@ ##### other data ################################ -foreach( _mimetype +tde_create_translated_desktop( + SOURCE x-wav.desktop x-mod.desktop x-midi.desktop x-mp3.desktop x-mp2.desktop mp4.desktop mpeg.desktop basic.desktop x-adpcm.desktop x-aiff.desktop @@ -21,10 +22,6 @@ foreach( _mimetype x-flac.desktop x-oggflac.desktop x-speex.desktop x-matroska.desktop x-musepack.desktop ac3.desktop aac.desktop x-ms-wma.desktop prs.sid.desktop + DESTINATION ${MIME_INSTALL_DIR}/audio + PO_DIR mimetypes ) - tde_create_translated_desktop( - SOURCE ${_mimetype} - DESTINATION ${MIME_INSTALL_DIR}/audio - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/mimetypes - ) -endforeach() |