aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/cmake/executor.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2024-06-08 23:16:36 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2024-06-14 17:19:53 +0300
commitc0d86024f5e647858f88bc400b45b3ad88a25c97 (patch)
treeb6384fe1f810a32c5276bf4bd8b8c641505d8157 /mesonbuild/cmake/executor.py
parent2b1510d7068747541f8d49ba876570d62fde5d0e (diff)
downloadmeson-c0d86024f5e647858f88bc400b45b3ad88a25c97.zip
meson-c0d86024f5e647858f88bc400b45b3ad88a25c97.tar.gz
meson-c0d86024f5e647858f88bc400b45b3ad88a25c97.tar.bz2
Rename option variable to optstore to make it unique.
Diffstat (limited to 'mesonbuild/cmake/executor.py')
-rw-r--r--mesonbuild/cmake/executor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/cmake/executor.py b/mesonbuild/cmake/executor.py
index dd43cc0..a8850d6 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[OptionKey('cmake_prefix_path', machine=self.for_machine)].value
if self.prefix_paths:
self.extra_cmake_args += ['-DCMAKE_PREFIX_PATH={}'.format(';'.join(self.prefix_paths))]