Simplify CMake rules for desktop file translations.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 3788d0cdb1)
r14.0.x
Slávek Banko 4 years ago
parent a2ac0ca3f9
commit 8c83723f9f
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