summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2011-07-03 00:01:25 (GMT)
committerRalf Habacker <ralf.habacker@freenet.de>2011-07-02 23:36:48 (GMT)
commitb77885c1db16dd2ebe4db17846b1470864d7c62d (patch)
treedf58609c465e02c972070356be25785549984c46
parent6321a9849258a879c8779d80e544093d65fa9c81 (diff)
downloaddbus-b77885c1db16dd2ebe4db17846b1470864d7c62d.tar.gz
dbus-b77885c1db16dd2ebe4db17846b1470864d7c62d.tar.xz
Fixed cmake buildsystem on unix - option command only supports boolean values
-rw-r--r--cmake/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
index 2f36303..34a1083 100644
--- a/cmake/CMakeLists.txt
+++ b/cmake/CMakeLists.txt
@@ -449,8 +449,8 @@ if (WIN32)
# bus-test expects a non empty string
set (DBUS_USER "Administrator")
else (WIN32)
- option (DBUS_SYSTEM_BUS_DEFAULT_ADDRESS "system bus default address" "unix:tmpdir=")
- option (DBUS_SESSION_BUS_DEFAULT_ADDRESS "session bus default address" "unix:path=${DBUS_SESSION_SOCKET_DIR}")
+ set (DBUS_SYSTEM_BUS_DEFAULT_ADDRESS "unix:tmpdir=" CACHE STRING "system bus default address")
+ set (DBUS_SESSION_BUS_DEFAULT_ADDRESS "unix:path=${DBUS_SESSION_SOCKET_DIR}" CACHE STRING "session bus default address")
set (sysconfdir "")
set (configdir ${sysconfdir}/dbus-1 )
set (DBUS_SYSTEM_CONFIG_FILE ${configdir}/system.conf)