Skip to content

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//T/ instead of the expected /tmp.

depends on !286 (merged)

Edited by Ralf Habacker

Merge request reports