diff options
author | Mavridis Philippe <mavridisf@gmail.com> | 2024-03-11 00:04:01 +0200 |
---|---|---|
committer | Mavridis Philippe <mavridisf@gmail.com> | 2024-03-11 00:04:01 +0200 |
commit | ae92cf1205676d2ff0c344b2a1305e546d5dd0a5 (patch) | |
tree | afd6629f325d5b5d7db141c5ffce99cd44bf7369 | |
parent | 019b67712846254a59e24130d670eaa217e6589f (diff) | |
download | xdg-desktop-portal-tde-ae92cf1205676d2ff0c344b2a1305e546d5dd0a5.tar.gz xdg-desktop-portal-tde-ae92cf1205676d2ff0c344b2a1305e546d5dd0a5.zip |
Fix installation prefix for XDG portal definition
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
-rw-r--r-- | CMakeLists.txt | 3 | ||||
-rw-r--r-- | interfaces/CMakeLists.txt | 2 |
2 files changed, 4 insertions, 1 deletions
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}) |