summaryrefslogtreecommitdiffstats
path: root/kaboodle
diff options
context:
space:
mode:
Diffstat (limited to 'kaboodle')
-rw-r--r--kaboodle/CMakeLists.txt14
1 files changed, 6 insertions, 8 deletions
diff --git a/kaboodle/CMakeLists.txt b/kaboodle/CMakeLists.txt
index fc28aed6..85cb017b 100644
--- a/kaboodle/CMakeLists.txt
+++ b/kaboodle/CMakeLists.txt
@@ -75,7 +75,7 @@ tde_add_executable( kaboodle AUTOMOC
tde_create_translated_desktop(
SOURCE kaboodle.desktop
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kaboodle-desktops
+ PO_DIR kaboodle-desktops
)
install(
@@ -83,10 +83,8 @@ install(
DESTINATION ${DATA_INSTALL_DIR}/kaboodle
)
-foreach( _service kaboodle_component.desktop kaboodleengine.desktop )
- tde_create_translated_desktop(
- SOURCE ${_service}
- DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kaboodle-desktops
- )
-endforeach()
+tde_create_translated_desktop(
+ SOURCE kaboodle_component.desktop kaboodleengine.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR kaboodle-desktops
+)