From e7c7f6fa378aa4181e7e171ea563632277d191b4 Mon Sep 17 00:00:00 2001 From: Stephan Lachnit Date: Mon, 18 Mar 2024 14:09:51 +0100 Subject: [PATCH] cmake: fix incorrect decorator for append_link_args Signed-off-by: Stephan Lachnit --- mesonbuild/modules/cmake.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/modules/cmake.py b/mesonbuild/modules/cmake.py index fe6457511..cd5c5f66a 100644 --- a/mesonbuild/modules/cmake.py +++ b/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])