docs: Fix some typos in feature option examples

1.1
Nirbheek Chauhan 2 years ago
parent 0d9e46c847
commit f7b0596bd2
  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