Simplify CMake rules for desktop file translations.

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

@ -116,14 +116,9 @@ install(
tde_create_translated_desktop(
SOURCE kbibtex_part.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files
)
tde_create_translated_desktop(
SOURCE ${PROJECT_NAME}.desktop
DESTINATION ${XDG_APPS_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files
)
tde_create_translated_desktop( ${PROJECT_NAME}.desktop )
install(
FILES kbibtex_part.rc

Loading…
Cancel
Save