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