interpreter: stop setting member out of initializer that isn't even used

pull/12027/head
Dylan Baker 1 year ago committed by Eli Schwartz
parent 9faf91d14f
commit 3a4b874ec0
  1. 1
      mesonbuild/interpreter/interpreter.py

@ -3282,7 +3282,6 @@ class Interpreter(InterpreterBase, HoldableObject):
kwargs['include_directories'] = self.extract_incdirs(kwargs)
target = targetclass(name, self.subdir, self.subproject, for_machine, srcs, struct, objs,
self.environment, self.compilers[for_machine], kwargs)
target.project_version = self.project_version
self.add_target(name, target)
self.project_args_frozen = True

Loading…
Cancel
Save