summaryrefslogtreecommitdiffstats
path: root/extras/multimedia/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'extras/multimedia/CMakeLists.txt')
-rw-r--r--extras/multimedia/CMakeLists.txt12
1 files changed, 5 insertions, 7 deletions
diff --git a/extras/multimedia/CMakeLists.txt b/extras/multimedia/CMakeLists.txt
index af70620..a7594e8 100644
--- a/extras/multimedia/CMakeLists.txt
+++ b/extras/multimedia/CMakeLists.txt
@@ -1,9 +1,7 @@
file( GLOB _files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} .directory *.desktop )
-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()
+tde_create_translated_desktop(
+ SOURCE ${_files}
+ DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}/extras/multimedia
+ PO_DIR extras
+)