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/inode | |
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/inode')
-rw-r--r-- | mimetypes/inode/CMakeLists.txt | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/mimetypes/inode/CMakeLists.txt b/mimetypes/inode/CMakeLists.txt index 3c19fac8b..463c87b69 100644 --- a/mimetypes/inode/CMakeLists.txt +++ b/mimetypes/inode/CMakeLists.txt @@ -11,13 +11,10 @@ ##### other data ################################ -foreach( _mimetype +tde_create_translated_desktop( + SOURCE block.desktop chardevice.desktop directory-locked.desktop directory.desktop fifo.desktop socket.desktop + DESTINATION ${MIME_INSTALL_DIR}/inode + PO_DIR mimetypes ) - tde_create_translated_desktop( - SOURCE ${_mimetype} - DESTINATION ${MIME_INSTALL_DIR}/inode - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/mimetypes - ) -endforeach() |