Commit e31af7aa authored by Frank Osterfeld's avatar Frank Osterfeld Committed by Ralf Habacker

define DBUS_BUILD_TESTS only if the option is enabled (cherry picked from...

define DBUS_BUILD_TESTS only if the option is enabled (cherry picked from commit 46c3a4e653c17c1daaabf164663856f373330f29)
parent 9f36b676
......@@ -233,7 +233,10 @@ set (DBUS_DAEMONDIR ${EXPANDED_BINDIR})
#AC_ARG_ENABLE(tests, AS_HELP_STRING([--enable-tests],[enable unit test code]),enable_tests=$enableval,enable_tests=$USE_MAINTAINER_MODE)
OPTION(DBUS_BUILD_TESTS "enable unit test code" ON)
add_definitions(-DDBUS_BUILD_TESTS)
if(DBUS_BUILD_TESTS)
add_definitions(-DDBUS_BUILD_TESTS)
endif(DBUS_BUILD_TESTS)
# win32 dbus service support - this support is not complete
OPTION(DBUS_SERVICE "enable dbus service installer" OFF)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment