Simplify CMake rules for desktop file translations.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/5/head
Slávek Banko 4 years ago
parent 76eb1944ae
commit 4d4713a54c
No known key found for this signature in database
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