diff options
author | Loïc Yhuel <loic.yhuel@softathome.com> | 2022-11-24 13:19:59 +0100 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2022-11-24 21:38:44 -0500 |
commit | 11fe8f11579d46870ed340dca8234ea35edf769c (patch) | |
tree | 12cbdb071f78ea6bfb5c45ce5fa834aef12bb392 /mesonbuild/compilers/cpp.py | |
parent | e85138fcc8373f925709124f8586a6feecf968d1 (diff) | |
download | meson-11fe8f11579d46870ed340dca8234ea35edf769c.zip meson-11fe8f11579d46870ed340dca8234ea35edf769c.tar.gz meson-11fe8f11579d46870ed340dca8234ea35edf769c.tar.bz2 |
Ignore unused compiler options for "meson configure"
"meson setup" ignores unused compiler options, like "cpp_args" on a project without C++.
"meson configure" doesn't have the filtering from "set_default_options", so it fails with :
ERROR: Unknown options: "cpp_args"
So now unused compiler options (ie not in coredata.options) are no longer marked unknown.
Fixes: #11060
Diffstat (limited to 'mesonbuild/compilers/cpp.py')
0 files changed, 0 insertions, 0 deletions