diff --git a/mesonbuild/modules/cmake.py b/mesonbuild/modules/cmake.py index fe6457511f99..cd5c5f66af9e 100644 --- a/mesonbuild/modules/cmake.py +++ b/mesonbuild/modules/cmake.py @@ -216,7 +216,7 @@ def set_install(self, state: ModuleState, args: T.Tuple[bool], kwargs: TYPE_kwar 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])