mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-05 07:38:20 +02:00
cmake: Correct DBUS_{SYSTEM,SESSION}_CONFIG_FILE on UNIX systems
We always install to a dbus-1 subdir, but the path encoded in the binary was missing the dbus-1/ subdirectory, so we end up getting errors when trying to load it.
This commit is contained in:
parent
9506ff7219
commit
f4876e7cb5
1 changed files with 2 additions and 2 deletions
|
|
@ -625,8 +625,8 @@ if(WIN32)
|
|||
else(WIN32)
|
||||
set(DBUS_SESSION_BUS_LISTEN_ADDRESS "unix:tmpdir=${DBUS_SESSION_SOCKET_DIR}" CACHE STRING "session bus default listening address")
|
||||
set(DBUS_SESSION_BUS_CONNECT_ADDRESS "autolaunch:" CACHE STRING "session bus fallback address for clients")
|
||||
set(DBUS_SYSTEM_CONFIG_FILE ${DBUS_DATADIR}/system.conf)
|
||||
set(DBUS_SESSION_CONFIG_FILE ${DBUS_DATADIR}/session.conf)
|
||||
set(DBUS_SYSTEM_CONFIG_FILE ${DBUS_DATADIR}/dbus-1/system.conf)
|
||||
set(DBUS_SESSION_CONFIG_FILE ${DBUS_DATADIR}/dbus-1/session.conf)
|
||||
set(DBUS_USER "messagebus")
|
||||
set(DBUS_TEST_USER "nobody")
|
||||
# For best security, assume that all non-Windows platforms can do
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue