UserFeatureOption: Default to 'auto' when no value specified

Closes #3938.
pull/3943/head
Xavier Claessens 7 years ago
parent efba193872
commit 5f9fda4acc
  1. 2
      mesonbuild/optinterpreter.py

@ -121,7 +121,7 @@ def string_array_parser(name, description, kwargs):
def FeatureParser(name, description, kwargs):
return coredata.UserFeatureOption(name,
description,
kwargs.get('value', 'enabled'),
kwargs.get('value', 'auto'),
yielding=kwargs.get('yield', coredata.default_yielding))
option_types = {'string': StringParser,

Loading…
Cancel
Save