From f87dab54cfcb077b6a110cb0b6e2e5a1541101f5 Mon Sep 17 00:00:00 2001 From: Hugo Osvaldo Barrera Date: Thu, 24 Aug 2023 17:52:44 +0200 Subject: [PATCH] meson: update deprecated syntax When using meson 1.2.1, `meson build` prints: NOTICE: Future-deprecated features used: * 1.1.0: {'"boolean option" keyword argument "value" of type str'} This patch defines the default values for boolean fields using the native boolean type and squelches this warning. --- meson_options.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meson_options.txt b/meson_options.txt index a8652f4..c70ea88 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -2,7 +2,7 @@ option( 'installed_tests', type : 'boolean', description : 'Build and install "as-installed" tests', - value : 'false', + value : false, ) option( 'man', @@ -20,5 +20,5 @@ option( 'tests', type : 'boolean', description : 'Build and run automated tests', - value : 'true', + value : true, )