diff options
Diffstat (limited to 'keduca')
-rw-r--r-- | keduca/keduca/CMakeLists.txt | 2 | ||||
-rw-r--r-- | keduca/resources/CMakeLists.txt | 22 |
2 files changed, 10 insertions, 14 deletions
diff --git a/keduca/keduca/CMakeLists.txt b/keduca/keduca/CMakeLists.txt index 80eeae43..4476355d 100644 --- a/keduca/keduca/CMakeLists.txt +++ b/keduca/keduca/CMakeLists.txt @@ -71,5 +71,5 @@ install( tde_create_translated_desktop( SOURCE keduca_part.desktop DESTINATION ${SERVICES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/keduca-desktops + PO_DIR keduca-desktops ) 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 +) |