]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
Move DBUS_USE_OUTPUT_DEBUG_STRING to config.h.cmake
authorRalf Habacker <ralf.habacker@freenet.de>
Tue, 16 Oct 2018 11:58:27 +0000 (13:58 +0200)
committerRalf Habacker <ralf.habacker@freenet.de>
Sat, 20 Oct 2018 11:53:45 +0000 (13:53 +0200)
Bug: https://gitlab.freedesktop.org/dbus/dbus/issues/117
Reviewed-by: Simon McVittie <smcv@collabora.com>
cmake/CMakeLists.txt
cmake/config.h.cmake

index 743b38cc99dd6478e95cd4944b566ca315147ec2..61a9655a346faf03ea507e1e4751152932e3b46a 100644 (file)
@@ -308,10 +308,6 @@ if(DBUS_BUILD_TESTS)
 endif(DBUS_BUILD_TESTS)
 
 option (DBUS_USE_OUTPUT_DEBUG_STRING "enable win32 debug port for message output" OFF)
-if(DBUS_USE_OUTPUT_DEBUG_STRING)
-    add_definitions(-DDBUS_USE_OUTPUT_DEBUG_STRING)
-endif(DBUS_USE_OUTPUT_DEBUG_STRING)
-
 if(WIN32)
        # win32 dbus service support - this support is not complete
        option (DBUS_SERVICE "enable dbus service installer" OFF)
index 1be7731b48d45648e80adaf5f58a16f7f41cb81a..c296c05ad171f06380510d99fec90db87d59721f 100644 (file)
@@ -48,6 +48,7 @@
 #endif
 #cmakedefine DBUS_ENABLE_EMBEDDED_TESTS 1
 #cmakedefine DBUS_ENABLE_MODULAR_TESTS 1
+#cmakedefine DBUS_USE_OUTPUT_DEBUG_STRING 1
 
 /* xmldocs */
 /* doxygen */