summaryrefslogtreecommitdiffstats
path: root/kappfinder-data
diff options
context:
space:
mode:
Diffstat (limited to 'kappfinder-data')
-rw-r--r--kappfinder-data/CMakeLists.txt15
1 files changed, 7 insertions, 8 deletions
diff --git a/kappfinder-data/CMakeLists.txt b/kappfinder-data/CMakeLists.txt
index c1974fdb..75ce5026 100644
--- a/kappfinder-data/CMakeLists.txt
+++ b/kappfinder-data/CMakeLists.txt
@@ -11,18 +11,17 @@
file( GLOB _multimedia_desktops RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.desktop )
list( SORT _multimedia_desktops )
-foreach( _desktop IN LISTS _multimedia_desktops )
- tde_create_translated_desktop(
- SOURCE ${_desktop}
- DESTINATION ${DATA_INSTALL_DIR}/kappfinder/apps/Multimedia
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kappfinder-data
- )
-endforeach()
+
+tde_create_translated_desktop(
+ SOURCE ${_multimedia_desktops}
+ DESTINATION ${DATA_INSTALL_DIR}/kappfinder/apps/Multimedia
+ PO_DIR kappfinder-data
+)
tde_create_translated_desktop(
SOURCE tde-multimedia-music.directory
DESTINATION ${XDG_DIRECTORY_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kappfinder-data
+ PO_DIR kappfinder-data
)
install(