summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2022-06-28 11:52:02 +0100
committerSimon McVittie <smcv@collabora.com>2022-07-13 20:36:13 +0100
commit9c9fae18dda62e0d73c92b139984f5143063f9f5 (patch)
tree463adbfa828c615104000d977ceb387689e646e0 /meson.build
parent09ebed95ea6db98aec2a9fcea6bc86202798e96b (diff)
downloaddbus-9c9fae18dda62e0d73c92b139984f5143063f9f5.tar.gz
meson: Don't define DBUS_ENABLE_ASSERTS
The other build systems don't define this, and it's too confusing to have both DBUS_ENABLE_ASSERTS and DBUS_ENABLE_ASSERT. Signed-off-by: Simon McVittie <smcv@collabora.com>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build2
1 files changed, 0 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index ad0e6d7b..4f2632fe 100644
--- a/meson.build
+++ b/meson.build
@@ -647,8 +647,6 @@ config.set('DBUS_ENABLE_VERBOSE_MODE', verbose_mode)
# Asserts defaults to developer mode
asserts = get_option('asserts')
-config.set('DBUS_ENABLE_ASSERTS', asserts)
-
config.set('DBUS_ENABLE_ASSERT', asserts ? 1 : false)
config.set('DBUS_DISABLE_ASSERT', not asserts ? 1 : false)