Simplify CMake rules for desktop file translations.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 4d4713a54c)
r14.0.x
Slávek Banko 3 years ago
parent 1575f24eb2
commit 407337a93e
Signed by: SlavekB
GPG Key ID: 608F5293A04BE668

@ -8,14 +8,9 @@ tde_install_icons( )
tde_create_translated_desktop(
SOURCE filelight_part.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files
)
tde_create_translated_desktop(
SOURCE filelight.desktop
DESTINATION ${XDG_APPS_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files
)
tde_create_translated_desktop( filelight.desktop )
install( FILES filelightrc
DESTINATION ${CONFIG_INSTALL_DIR}

Loading…
Cancel
Save