diff options
| author | Jussi Pakkanen <jpakkane@gmail.com> | 2024-06-29 12:41:50 +0300 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2024-07-11 11:53:39 +0300 |
| commit | 8e3f609e730645ca37dcb2a4291bd6514ccea2f3 (patch) | |
| tree | 4d983ae6943164b18b8976bf0917185e030567d4 /mesonbuild/ast | |
| parent | 1a458aacb407e3893b7e832a7a3f75e581c5e3f4 (diff) | |
| download | meson-8e3f609e730645ca37dcb2a4291bd6514ccea2f3.tar.gz | |
Move project option detection into OptionStore.
Diffstat (limited to 'mesonbuild/ast')
| -rw-r--r-- | mesonbuild/ast/introspection.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/ast/introspection.py b/mesonbuild/ast/introspection.py index 11975109d..07f82dfe6 100644 --- a/mesonbuild/ast/introspection.py +++ b/mesonbuild/ast/introspection.py @@ -105,7 +105,7 @@ class IntrospectionInterpreter(AstInterpreter): if not os.path.exists(optfile): optfile = os.path.join(self.source_root, self.subdir, 'meson_options.txt') if os.path.exists(optfile): - oi = optinterpreter.OptionInterpreter(self.subproject) + oi = optinterpreter.OptionInterpreter(self.coredata.optstore, self.subproject) oi.process(optfile) assert isinstance(proj_name, str), 'for mypy' self.coredata.update_project_options(oi.options, T.cast('SubProject', proj_name)) |
