]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
meson: Consistently use boolean defaults for boolean options
authorSimon McVittie <smcv@collabora.com>
Fri, 13 Dec 2024 10:48:23 +0000 (10:48 +0000)
committerSimon McVittie <smcv@collabora.com>
Fri, 13 Dec 2024 13:58:01 +0000 (13:58 +0000)
Meson accepts either booleans or strings as defaults for a boolean
option, but recommends booleans, and raises deprecation warnings for
strings.

Signed-off-by: Simon McVittie <smcv@collabora.com>
meson_options.txt

index 3ce22c9b9f71348bf22a7b5762c4235304edcd4c..1bd00579f1bf3482aecf7c1e42eb556579d963b0 100644 (file)
@@ -146,7 +146,7 @@ option(
 option(
   'message_bus',
   type: 'boolean',
-  value: 'true',
+  value: true,
   description: 'Enable dbus-daemon'
 )
 
@@ -260,7 +260,7 @@ option(
 option(
   'tools',
   type: 'boolean',
-  value: 'true',
+  value: true,
   description: 'Enable CLI tools such as dbus-send and dbus-monitor'
 )