Browse Source

Simplify CMake rules for desktop file translations.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
master
Slávek Banko 2 months ago
parent
commit
8e9bbb67d1
Signed by: SlavekB GPG Key ID: 608F5293A04BE668
1 changed files with 4 additions and 6 deletions
  1. +4
    -6
      src/servicemenus/CMakeLists.txt

+ 4
- 6
src/servicemenus/CMakeLists.txt View File

@@ -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
)

Loading…
Cancel
Save