Skip to content

Commit

Permalink
meson: update deprecated syntax
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
WhyNotHugo authored and GeorgesStavracas committed Apr 26, 2024
1 parent d83eadc commit f87dab5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions meson_options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ option(
'installed_tests',
type : 'boolean',
description : 'Build and install "as-installed" tests',
value : 'false',
value : false,
)
option(
'man',
Expand All @@ -20,5 +20,5 @@ option(
'tests',
type : 'boolean',
description : 'Build and run automated tests',
value : 'true',
value : true,
)

0 comments on commit f87dab5

Please sign in to comment.