diff options
author | Slávek Banko <[email protected]> | 2020-07-10 03:09:26 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-07-10 03:09:26 +0200 |
commit | 8e9bbb67d12093ea9332cd765a748c68379446a4 (patch) | |
tree | 70b70f1075c7e287c4681e7fe0c3ef9c7aeaeecb /src/servicemenus | |
parent | bbc295b34a109d7e069baf1702af0691a24b90cc (diff) | |
download | dolphin-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.txt | 10 |
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 +) |