diff options
author | Alex Richardson <arichardson.kde@gmail.com> | 2022-03-19 14:56:12 +0000 |
---|---|---|
committer | Ralf Habacker <ralf.habacker@freenet.de> | 2022-03-29 11:40:15 +0000 |
commit | e827309976cab94c806fda20013915f1db2d4f5a (patch) | |
tree | 767f649af19b2e2858d8bc0caf42017360b4dbe2 /README.cmake | |
parent | 302f85d45dae5ea6d51db33b11564f7845a9b686 (diff) |
cmake: Fix DBUS_SESSION_SOCKET_DIR when cross-compiling
Inferring it from the environment is not correct, since the host system
could have a different temporary directory defined. Instead of guessing
based on the host, require the user to pass an explicit directory when
cross-compiling. This is helpful for me since I am cross-compiling for
FreeBSD from macOS and on my host TMPDIR is set to
/var/folders/<random characters>/T/ instead of the expected /tmp.
Diffstat (limited to 'README.cmake')
-rw-r--r-- | README.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/README.cmake b/README.cmake index a1cfc96a..281b730d 100644 --- a/README.cmake +++ b/README.cmake @@ -179,6 +179,9 @@ DBUS_SESSION_BUS_LISTEN_ADDRESS:STRING=autolaunch: // session bus fallback address for clients DBUS_SESSION_BUS_CONNECT_ADDRESS:STRING=autolaunch: +//Default directory for session socket +DBUS_SESSION_SOCKET_DIR:STRING=/tmp + // system bus default address (only useful on Unix) DBUS_SYSTEM_BUS_DEFAULT_ADDRESS:STRING=unix:path=/var/run/dbus/system_bus_socket |