summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2011-07-04 21:47:45 (GMT)
committerRalf Habacker <ralf.habacker@freenet.de>2011-07-04 21:47:45 (GMT)
commit4ee7b07b208f64f3b76f253c449e86e86849fca8 (patch)
tree17293fcc0bd04226422e429cc437376afb3da5f3
parentb32aaa8a57075bbd71c7239477a387138fc61cbf (diff)
downloaddbus-4ee7b07b208f64f3b76f253c449e86e86849fca8.tar.gz
dbus-4ee7b07b208f64f3b76f253c449e86e86849fca8.tar.xz
Fixed cmake buildsystem - option command only supports boolean values
-rw-r--r--cmake/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
index ede0d3b..b68a397 100644
--- a/cmake/CMakeLists.txt
+++ b/cmake/CMakeLists.txt
@@ -287,7 +287,7 @@ STRING(TOUPPER ${CMAKE_SYSTEM_NAME} sysname)
if("${sysname}" MATCHES ".*SOLARIS.*")
option (HAVE_CONSOLE_OWNER_FILE "enable console owner file (solaris only)" ON)
if(HAVE_CONSOLE_OWNER_FILE)
- option (DBUS_CONSOLE_OWNER_FILE "Directory to check for console ownerhip" "/dev/console")
+ set (DBUS_CONSOLE_OWNER_FILE "/dev/console" CACHE STRING "Directory to check for console ownerhip")
endif(HAVE_CONSOLE_OWNER_FILE)
endif("${sysname}" MATCHES ".*SOLARIS.*")
@@ -347,8 +347,8 @@ if(CMAKE_COMPILER_IS_GNUCC AND NOT DBUS_ENABLE_ANSI)
endif(UNAME_EXECUTABLE)
endif(CMAKE_COMPILER_IS_GNUCC AND NOT DBUS_ENABLE_ANSI)
-option (DBUS_HAVE_ATOMIC_INT "Some atomic integer implementation present" ${atomic_int})
-option (DBUS_USE_ATOMIC_INT_486 "Use atomic integer implementation for 486" ${atomic_int_486})
+set (DBUS_HAVE_ATOMIC_INT ${atomic_int} CACHE STRING "Some atomic integer implementation present")
+set (DBUS_USE_ATOMIC_INT_486 ${atomic_int_486} CACHE STRING "Use atomic integer implementation for 486")
if(X11_FOUND)
option (DBUS_BUILD_X11 "Build with X11 autolaunch support " ON)