diff options
Diffstat (limited to 'extras/system/CMakeLists.txt')
-rw-r--r-- | extras/system/CMakeLists.txt | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/extras/system/CMakeLists.txt b/extras/system/CMakeLists.txt index 6e6e107..a2d7e6d 100644 --- a/extras/system/CMakeLists.txt +++ b/extras/system/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/system -) +foreach( _source ${_files} ) + tde_create_translated_desktop( + SOURCE ${_source} + DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}/extras/system + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/extras + ) +endforeach() |