diff options
Diffstat (limited to 'mesonbuild/mconf.py')
-rw-r--r-- | mesonbuild/mconf.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/mesonbuild/mconf.py b/mesonbuild/mconf.py index 46d0463..35e862f 100644 --- a/mesonbuild/mconf.py +++ b/mesonbuild/mconf.py @@ -90,8 +90,8 @@ class Conf: def clear_cache(self): self.coredata.clear_deps_cache() - def set_options(self, options): - self.coredata.set_options(options) + def set_options(self, options) -> bool: + return self.coredata.set_options(options) def save(self): # Do nothing when using introspection @@ -308,9 +308,8 @@ def run(options): save = False if options.cmd_line_options: - c.set_options(options.cmd_line_options) + save = c.set_options(options.cmd_line_options) coredata.update_cmd_line_file(builddir, options) - save = True elif options.clearcache: c.clear_cache() save = True |