diff options
author | Ralf Habacker <ralf.habacker@freenet.de> | 2020-05-18 12:44:37 +0200 |
---|---|---|
committer | Simon McVittie <smcv@collabora.com> | 2020-06-10 18:13:47 +0000 |
commit | 97bdefd4e2598e6ea72337acb4230928594bda81 (patch) | |
tree | cd0415996ab93a57ee6a7f24a85f5b9f03b1fdff /README.cmake | |
parent | eb6d4a14399f880cee581fb1706e1f4ac85df158 (diff) | |
download | dbus-97bdefd4e2598e6ea72337acb4230928594bda81.tar.gz |
cmake: Add support for systemd integration on Linux operating systems
Previously, only the Autotools build system could do this. This commit
includes most of the same features as in the Autotools build, although
not the user-session semantics, which will be added separately.
Systemd support is controlled by the cmake variable ENABLE_SYSTEMD, which can
have the values OFF, ON and AUTO, the latter enabling support by default if
the required libraries are available.
With WITH_SYSTEMD_SYSTEMUNITDIR a custom installation location can be specified.
If it is not specified, the related install path is determined from the installed
systemd package, if present.
Diffstat (limited to 'README.cmake')
-rw-r--r-- | README.cmake | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/README.cmake b/README.cmake index e6bc9725..0b32fdca 100644 --- a/README.cmake +++ b/README.cmake @@ -149,6 +149,12 @@ DBUS_ENABLE_STATS:BOOL=OFF // enable restricted servers for app containers DBUS_ENABLE_CONTAINERS:BOOL=OFF +// build with systemd at_console support +ENABLE_SYSTEMD:STRING=AUTO + +// Directory for systemd service files +WITH_SYSTEMD_SYSTEMUNITDIR:STRING= + // support verbose debug mode DBUS_ENABLE_VERBOSE_MODE:BOOL=ON |