Merge pull request #1997 from mesonbuild/fixconditional
Fix conditional continuation bugpull/1995/merge
commit
ee8fcd5f67
3 changed files with 15 additions and 0 deletions
@ -0,0 +1,7 @@ |
||||
project('silent_or', 'c') |
||||
|
||||
if get_option('foo') == 'true' |
||||
or get_option('foo') == 'auto' |
||||
else |
||||
message('If this message is printed then something is wrong. The or above should give a syntax error.') |
||||
endif |
@ -0,0 +1 @@ |
||||
option('foo', type: 'combo', choices: ['true', 'false', 'auto'], value: 'auto') |
Loading…
Reference in new issue