Skip to content

Commit

Permalink
Fix rootoptions ConfigOption::inherit
Browse files Browse the repository at this point in the history
  • Loading branch information
tttapa committed Jul 24, 2023
1 parent 42a8053 commit e5f389d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/py_build_cmake/config_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ def inherit(self, rootopts: 'ConfigOption', cfg: ConfigNode,
for _, s in supercfg.iter_dfs():
if s is not None:
s.inherited = False
superopt.explicit_override(self, supercfg, superpth, selfcfg,
superopt.explicit_override(rootopts, supercfg, superpth, selfcfg,
selfpth)
selfcfg.sub = supercfg.sub
selfcfg.inherited = True
Expand Down

0 comments on commit e5f389d

Please sign in to comment.