summaryrefslogtreecommitdiffstats
path: root/keduca/resources/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'keduca/resources/CMakeLists.txt')
-rw-r--r--keduca/resources/CMakeLists.txt22
1 files changed, 9 insertions, 13 deletions
diff --git a/keduca/resources/CMakeLists.txt b/keduca/resources/CMakeLists.txt
index 58a3e7bb..7f39f3e4 100644
--- a/keduca/resources/CMakeLists.txt
+++ b/keduca/resources/CMakeLists.txt
@@ -9,17 +9,13 @@ tde_install_icons( )
##### other data
-foreach( _mimetype x-edu.desktop x-edugallery.desktop )
- tde_create_translated_desktop(
- SOURCE ${_mimetype}
- DESTINATION ${MIME_INSTALL_DIR}/application
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/keduca-mimetypes
- )
-endforeach()
+tde_create_translated_desktop(
+ SOURCE x-edu.desktop x-edugallery.desktop
+ DESTINATION ${MIME_INSTALL_DIR}/application
+ PO_DIR keduca-mimetypes
+)
-foreach( _desktop keduca.desktop keducabuilder.desktop )
- tde_create_translated_desktop(
- SOURCE ${_desktop}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/keduca-desktops
- )
-endforeach()
+tde_create_translated_desktop(
+ SOURCE keduca.desktop keducabuilder.desktop
+ PO_DIR keduca-desktops
+)