diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2022-01-06 15:45:18 -0800 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2022-01-18 17:53:29 -0500 |
| commit | 9c7ddf59fee75148153c0a05de727108b74b5ee7 (patch) | |
| tree | 3e648c79fa1612fbd8565a86f00d5300dad1deaf /docs/yaml/objects/feature.yaml | |
| parent | bf3fa728faf3e759e8d226b5ebb3d9847860cace (diff) | |
| download | meson-9c7ddf59fee75148153c0a05de727108b74b5ee7.tar.gz | |
interpreterobjects: deprecated passing a number to configuration_data.set10
This is currently allowed, and is used in at least a few projects. It
was not intended to work or documented, but it does and since it is in
use a full deprecation period must be used. A warning has also been
added for values < 0, which have surprising behavior.
Diffstat (limited to 'docs/yaml/objects/feature.yaml')
| -rw-r--r-- | docs/yaml/objects/feature.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/yaml/objects/feature.yaml b/docs/yaml/objects/feature.yaml index 5b451e5a9..b6a754b72 100644 --- a/docs/yaml/objects/feature.yaml +++ b/docs/yaml/objects/feature.yaml @@ -54,7 +54,7 @@ methods: if get_option('directx').require(host_machine.system() == 'windows', error_message: 'DirectX only available on Windows').allowed() then src += ['directx.c'] - config.set10('HAVE_DIRECTX', 1) + config.set10('HAVE_DIRECTX', true) endif ``` |
