diff options
| -rw-r--r-- | docs/yaml/objects/feature.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/yaml/objects/feature.yaml b/docs/yaml/objects/feature.yaml index 9cb597be8..3e37644f4 100644 --- a/docs/yaml/objects/feature.yaml +++ b/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: |
