Fix requireed meson version for override_dependency()

pull/6929/head
Xavier Claessens 5 years ago committed by Jussi Pakkanen
parent a7d08b9b9c
commit 1ba62c484d
  1. 2
      mesonbuild/interpreter.py

@ -2014,7 +2014,7 @@ class MesonMain(InterpreterObject):
raise InterpreterException('Second argument must be an external program or executable.') raise InterpreterException('Second argument must be an external program or executable.')
self.interpreter.add_find_program_override(name, exe) self.interpreter.add_find_program_override(name, exe)
@FeatureNew('meson.override_dependency', '0.53.0') @FeatureNew('meson.override_dependency', '0.54.0')
@permittedKwargs({'native'}) @permittedKwargs({'native'})
def override_dependency_method(self, args, kwargs): def override_dependency_method(self, args, kwargs):
if len(args) != 2: if len(args) != 2:

Loading…
Cancel
Save