diff options
| author | Jussi Pakkanen <jpakkane@gmail.com> | 2024-06-14 19:25:18 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-14 19:25:18 +0300 |
| commit | ce889d68706092159dfc4802301d01ff023f05a4 (patch) | |
| tree | 26897128a813829821d1ad714a9f19d085c9e95e /mesonbuild/cmake/executor.py | |
| parent | 0352c900bc33ae2796d1e0881986f2163b7e256d (diff) | |
| parent | 181c3499fde491650269c236ea639c92f10c6914 (diff) | |
| download | meson-ce889d68706092159dfc4802301d01ff023f05a4.tar.gz | |
Merge pull request #13307 from mesonbuild/optstorerefactor
Convert OptionStore from a dict to a full class with named methods
Diffstat (limited to 'mesonbuild/cmake/executor.py')
| -rw-r--r-- | mesonbuild/cmake/executor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/cmake/executor.py b/mesonbuild/cmake/executor.py index dd43cc04a..392063d58 100644 --- a/mesonbuild/cmake/executor.py +++ b/mesonbuild/cmake/executor.py @@ -51,7 +51,7 @@ class CMakeExecutor: self.cmakebin = None return - self.prefix_paths = self.environment.coredata.options[OptionKey('cmake_prefix_path', machine=self.for_machine)].value + self.prefix_paths = self.environment.coredata.optstore.get_value(OptionKey('cmake_prefix_path', machine=self.for_machine)) if self.prefix_paths: self.extra_cmake_args += ['-DCMAKE_PREFIX_PATH={}'.format(';'.join(self.prefix_paths))] |
