summaryrefslogtreecommitdiff
path: root/README.cmake
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2020-05-18 12:47:51 +0200
committerSimon McVittie <smcv@collabora.com>2020-06-10 18:13:47 +0000
commit927a5f4d757e9eacb6f133ebd45b69db01e9e2f3 (patch)
tree7b022f56b45be246fc4e6333322134f082d2a39b /README.cmake
parent97bdefd4e2598e6ea72337acb4230928594bda81 (diff)
downloaddbus-927a5f4d757e9eacb6f133ebd45b69db01e9e2f3.tar.gz
cmake: add support for user session semantic on Linux operating systems
Systemd user support is controlled by the cmake variable ENABLE_USER_SESSION, which and WITH_SYSTEMD_USERUNITDIR to specify a custom installation location. If WITH_SYSTEMD_USERUNITDIR is not specified, the related install path is determined from an installed systemd package, if present. This was added to the Autotools build system as part of fd.o#61301, but until now was not possible to enable when building with CMake.
Diffstat (limited to 'README.cmake')
-rw-r--r--README.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/README.cmake b/README.cmake
index 0b32fdca..7c984430 100644
--- a/README.cmake
+++ b/README.cmake
@@ -155,6 +155,12 @@ ENABLE_SYSTEMD:STRING=AUTO
// Directory for systemd service files
WITH_SYSTEMD_SYSTEMUNITDIR:STRING=
+// enable user-session semantics for session bus under systemd
+ENABLE_USER_SESSION:BOOL=ON
+
+// Directory for systemd user service files
+WITH_SYSTEMD_USERUNITDIR:STRING=
+
// support verbose debug mode
DBUS_ENABLE_VERBOSE_MODE:BOOL=ON