Fix installation prefix for XDG portal definition

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
feat/improvements
Mavridis Philippe 9 months ago
parent 019b677128
commit ae92cf1205
No known key found for this signature in database
GPG Key ID: 93F66F98F906147D

@ -34,6 +34,9 @@ option( BUILD_ALL "Build all" ON )
option( BUILD_DOC "Build documentation" ${BUILD_ALL} )
# option( BUILD_TRANSLATIONS "Build translations" ${BUILD_ALL} )
### Other options ##############################################################
set(XDG_PREFIX "/usr")
### Configure checks ###########################################################
include( ConfigureChecks.cmake )

@ -36,7 +36,7 @@ configure_file(org.freedesktop.impl.portal.desktop.tde.service.cmake
configure_file(xdg-desktop-portal-tde.desktop.cmake
xdg-desktop-portal-tde.desktop @ONLY)
install(FILES tde.portal DESTINATION ${SHARE_INSTALL_PREFIX}/xdg-desktop-portal/portals)
install(FILES tde.portal DESTINATION ${XDG_PREFIX}/share/xdg-desktop-portal/portals)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.freedesktop.impl.portal.desktop.tde.service
DESTINATION ${DBUS_SESSION_DIRECTORY})

Loading…
Cancel
Save