diff options
Diffstat (limited to 'extras/multimedia/CMakeLists.txt')
-rw-r--r-- | extras/multimedia/CMakeLists.txt | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/extras/multimedia/CMakeLists.txt b/extras/multimedia/CMakeLists.txt index 00173e8..af70620 100644 --- a/extras/multimedia/CMakeLists.txt +++ b/extras/multimedia/CMakeLists.txt @@ -1,6 +1,9 @@ -file( GLOB _files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.desktop ) +file( GLOB _files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} .directory *.desktop ) -install( - FILES ${_files} .directory - DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}/extras/multimedia -) +foreach( _source ${_files} ) + tde_create_translated_desktop( + SOURCE ${_source} + DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}/extras/multimedia + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/extras + ) +endforeach() |