Simplify CMake rules for desktop file translations.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/6/head
Slávek Banko 4 years ago
parent 965bc5b2e5
commit a6a8f464ce
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

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

Loading…
Cancel
Save