summaryrefslogtreecommitdiffstats
path: root/src/servicemenus
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-07-10 03:09:26 +0200
committerSlávek Banko <[email protected]>2020-07-10 03:09:26 +0200
commit8e9bbb67d12093ea9332cd765a748c68379446a4 (patch)
tree70b70f1075c7e287c4681e7fe0c3ef9c7aeaeecb /src/servicemenus
parentbbc295b34a109d7e069baf1702af0691a24b90cc (diff)
downloaddolphin-8e9bbb67d12093ea9332cd765a748c68379446a4.tar.gz
dolphin-8e9bbb67d12093ea9332cd765a748c68379446a4.zip
Simplify CMake rules for desktop file translations.
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'src/servicemenus')
-rw-r--r--src/servicemenus/CMakeLists.txt10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/servicemenus/CMakeLists.txt b/src/servicemenus/CMakeLists.txt
index 96e5803..102be68 100644
--- a/src/servicemenus/CMakeLists.txt
+++ b/src/servicemenus/CMakeLists.txt
@@ -1,9 +1,7 @@
file( GLOB _services RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.desktop )
-foreach( _service ${_services} )
- tde_create_translated_desktop(
- SOURCE ${_service}
+tde_create_translated_desktop(
+ SOURCE ${_services}
DESTINATION ${DATA_INSTALL_DIR}/d3lphin/servicemenus
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/servicemenus
- )
-endforeach( )
+ PO_DIR servicemenus
+)