From e7514fc74910046a034f050f7618d959de87a46e Mon Sep 17 00:00:00 2001 From: Ryo Nakano Date: Fri, 27 Dec 2024 20:25:32 +0900 Subject: [PATCH] meson: Fix use of string value for a boolean option This fixes the following warning on build: * 1.1.0: {'"boolean option" keyword argument "value" of type str'} --- meson_options.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson_options.txt b/meson_options.txt index 2689e2e3..c7fdbadc 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -1,4 +1,4 @@ option('busctlpath', type: 'string', value: '', description: 'custom path to busctl executable') -option('ubuntu_drivers', type: 'boolean', value: 'true', description: 'whether to enable ubuntu drivers integration') +option('ubuntu_drivers', type: 'boolean', value: true, description: 'whether to enable ubuntu drivers integration') option('systemdsystemunitdir', type: 'string', value: '', description: 'custom directory for systemd system units, or \'no\' to disable') option('systemduserunitdir', type: 'string', value: '', description: 'custom directory for systemd user units, or \'no\' to disable')