This fix the following common pattern, we don't want to implicitly fallback on the first line: foo_dep = dependency('foo', required: false) if not foo_dep.found() foo_dep = cc.find_library('foo', required : false) if not foo_dep.found() foo_dep = dependency('foo', fallback: 'foo') endif endifpull/6902/head
parent
71804e56eb
commit
288d1ae5a5
1 changed files with 5 additions and 2 deletions
Loading…
Reference in new issue