use compile_args instead of compiler_args [skip ci]

pull/4950/head
Jonathan Poelen 6 years ago committed by Jussi Pakkanen
parent 43d975ed10
commit f424bdaf33
  1. 4
      docs/markdown/Reference-manual.md

@ -2133,8 +2133,8 @@ an external dependency with the following methods:
partial dependency with the same rules. So , given:
```meson
dep1 = declare_dependency(compiler_args : '-Werror=foo', link_with : 'libfoo')
dep2 = declare_dependency(compiler_args : '-Werror=bar', dependencies : dep1)
dep1 = declare_dependency(compile_args : '-Werror=foo', link_with : 'libfoo')
dep2 = declare_dependency(compile_args : '-Werror=bar', dependencies : dep1)
dep3 = dep2.partial_dependency(compile_args : true)
```

Loading…
Cancel
Save