docs: Fix some typos in feature option examples

pull/11811/head
Nirbheek Chauhan 2 years ago committed by Eli Schwartz
parent 22df45a319
commit 11a4cb7aad
  1. 4
      docs/yaml/objects/feature.yaml

@ -100,7 +100,7 @@ methods:
```
use_llvm = get_option('llvm').enable_if(with_clang).enable_if(with_llvm_libs)
dep_llvm = dependency('llvm', require : use_llvm)
dep_llvm = dependency('llvm', required: use_llvm)
```
posargs:
@ -132,7 +132,7 @@ methods:
```
use_os_feature = get_option('foo') \
.disable_if(host_machine.system() == 'darwin', error_message : 'os feature not supported on MacOS')
dep_os_feature = dependency('os_feature', require : use_os_feature)
dep_os_feature = dependency('os_feature', required: use_os_feature)
```
posargs:

Loading…
Cancel
Save