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:49 +0200 |
commit | 4c64e3e0d49b65314bdea5781f255fd958bbe60f (patch) | |
tree | 63af376c0083151dde7ae10efb7c19110b92f7ec | |
parent | 314755e1525d0d19d7e8e1cee6194c1f30633143 (diff) | |
download | dolphin-4c64e3e0d49b65314bdea5781f255fd958bbe60f.tar.gz dolphin-4c64e3e0d49b65314bdea5781f255fd958bbe60f.zip |
Simplify CMake rules for desktop file translations.
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit 8e9bbb67d12093ea9332cd765a748c68379446a4)
-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 +) |