Skip to content

Commit

Permalink
cmake: fix incorrect decorator for append_link_args
Browse files Browse the repository at this point in the history
Signed-off-by: Stephan Lachnit <[email protected]>
  • Loading branch information
stephanlachnit authored and dcbaker committed Mar 18, 2024
1 parent 2ac5c4b commit e7c7f6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesonbuild/modules/cmake.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit e7c7f6f

Please sign in to comment.