diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2018-04-05 16:46:22 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2018-04-15 13:32:38 +0530 |
commit | 87c166db954591372bd2d34ab59d3a2d8c2b0bd7 (patch) | |
tree | 9e61bf56b1e0d32ee2f6a65556a2318dbf811672 /mesonbuild/compilers/compilers.py | |
parent | 998892ed2962fdabcb3ef882375501fd849d56f8 (diff) | |
download | meson-87c166db954591372bd2d34ab59d3a2d8c2b0bd7.zip meson-87c166db954591372bd2d34ab59d3a2d8c2b0bd7.tar.gz meson-87c166db954591372bd2d34ab59d3a2d8c2b0bd7.tar.bz2 |
find_program: Only store successful lookups
Otherwise we can't do the following workflow:
if not find_program('foo', required : false).found()
subproject('provides-foo')
endif
Where 'provides-foo' has a meson.override_find_program() on
a configure_file() or similar.
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
0 files changed, 0 insertions, 0 deletions