diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2020-12-08 10:26:03 -0800 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2021-01-11 11:15:06 -0800 |
commit | 3949c2a0e0a5fbd9ede8e7a4607220e58934637e (patch) | |
tree | dba36fce500be660e186787d58bdaae3e1e8bd39 /mesonbuild/compilers/compilers.py | |
parent | 284b89c3217688ac09b79463a20e4099d7c158b9 (diff) | |
download | meson-3949c2a0e0a5fbd9ede8e7a4607220e58934637e.zip meson-3949c2a0e0a5fbd9ede8e7a4607220e58934637e.tar.gz meson-3949c2a0e0a5fbd9ede8e7a4607220e58934637e.tar.bz2 |
move CMAKE_PREFIX_PATH env var handling to environment
This causes the variable to be read up front and stored, rather than be
re-read on each invocation of meson.
This does have two slight behavioral changes. First is the obvious one
that changing the variable between `meson --reconfigure` invocations has
no effect. This is the way PKG_CONFIG_PATH already works. The second
change is that CMAKE_PREFIX_PATH the env var is no longer appended to
the values set in the machine file or on the command line, and is
instead replaced by them. CMAKE_PREFIX_PATH is the only env var in meson
that works this way, every other one is replaced not appended, so while
this is a behavioral change, I also think its a bug fix.
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
0 files changed, 0 insertions, 0 deletions