cmake: fix incorrect decorator for append_link_args

Signed-off-by: Stephan Lachnit <stephanlachnit@debian.org>
pull/12950/head
Stephan Lachnit 8 months ago committed by Dylan Baker
parent 2ac5c4b720
commit e7c7f6fa37
  1. 2
      mesonbuild/modules/cmake.py

@ -216,7 +216,7 @@ class CMakeSubprojectOptions(ModuleObject):
def append_compile_args(self, state: ModuleState, args: T.Tuple[str, T.List[str]], kwargs: TYPE_kwargs) -> None:
self._get_opts(kwargs).append_args(args[0], args[1])
@typed_pos_args('subproject_options.append_compile_args', varargs=str, min_varargs=1)
@typed_pos_args('subproject_options.append_link_args', varargs=str, min_varargs=1)
@permittedKwargs({'target'})
def append_link_args(self, state: ModuleState, args: T.Tuple[T.List[str]], kwargs: TYPE_kwargs) -> None:
self._get_opts(kwargs).append_link_args(args[0])

Loading…
Cancel
Save