diff --git a/CMakeLists.txt b/CMakeLists.txt index 93a23f2..9c6cd02 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 ) diff --git a/interfaces/CMakeLists.txt b/interfaces/CMakeLists.txt index df05b75..f01262c 100644 --- a/interfaces/CMakeLists.txt +++ b/interfaces/CMakeLists.txt @@ -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})