diff options
Diffstat (limited to 'mesonbuild/modules/keyval.py')
-rw-r--r-- | mesonbuild/modules/keyval.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/modules/keyval.py b/mesonbuild/modules/keyval.py index 7cebc91..36daea8 100644 --- a/mesonbuild/modules/keyval.py +++ b/mesonbuild/modules/keyval.py @@ -63,8 +63,8 @@ class KeyvalModule(ExtensionModule): else: s = os.path.join(self.interpreter.environment.source_dir, s) - if s not in self.interpreter.build_def_files and not is_built: - self.interpreter.build_def_files.append(s) + if not is_built: + self.interpreter.build_def_files.add(s) return self._load_file(s) |