summaryrefslogtreecommitdiffstats
path: root/kbarcode/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'kbarcode/CMakeLists.txt')
-rw-r--r--kbarcode/CMakeLists.txt11
1 files changed, 3 insertions, 8 deletions
diff --git a/kbarcode/CMakeLists.txt b/kbarcode/CMakeLists.txt
index dbfaab2..08984ee 100644
--- a/kbarcode/CMakeLists.txt
+++ b/kbarcode/CMakeLists.txt
@@ -70,23 +70,18 @@ tde_install_icons( )
##### other data
-foreach( _desktop
+tde_create_translated_desktop(
+ SOURCE
${PROJECT_NAME}.desktop
${PROJECT_NAME}-batch.desktop
${PROJECT_NAME}-editor.desktop
${PROJECT_NAME}-single.desktop
- )
- tde_create_translated_desktop(
- SOURCE ${_desktop}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files
- )
-endforeach( )
+)
tde_create_translated_desktop(
SOURCE ${PROJECT_NAME}-label.desktop
DESTINATION ${MIME_INSTALL_DIR}/application
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files
)
install(