Browse Source

Simplify CMake rules for desktop file translations.

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

+ 4
- 6
krename/CMakeLists.txt View File

@ -71,13 +71,11 @@ tde_install_icons( ${PROJECT_NAME} )
tde_create_translated_desktop( ${PROJECT_NAME}.desktop )
foreach( _service krename_dir.desktop krenameservicemenu.desktop )
tde_create_translated_desktop(
SOURCE ${_service}
tde_create_translated_desktop(
SOURCE krename_dir.desktop krenameservicemenu.desktop
DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/servicemenus
)
endforeach( )
PO_DIR servicemenus
)
install(
FILES


Loading…
Cancel
Save