diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2019-07-25 13:41:04 -0700 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2019-07-26 12:06:47 +0000 |
commit | 03f3c7ad627717a6e38d9973d410ded168d6547f (patch) | |
tree | 452d3b031bba95af554acb392d11dce6e4f8ea61 /docs/markdown/Release-notes-for-0.51.0.md | |
parent | 49dd56b3129917ddda53383a76434375d25b706a (diff) | |
download | meson-03f3c7ad627717a6e38d9973d410ded168d6547f.zip meson-03f3c7ad627717a6e38d9973d410ded168d6547f.tar.gz meson-03f3c7ad627717a6e38d9973d410ded168d6547f.tar.bz2 |
docs: correct key in dep.get_variable
pkg-config -> pkgconfig
Diffstat (limited to 'docs/markdown/Release-notes-for-0.51.0.md')
-rw-r--r-- | docs/markdown/Release-notes-for-0.51.0.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/markdown/Release-notes-for-0.51.0.md b/docs/markdown/Release-notes-for-0.51.0.md index 86b2f70..b7e441c 100644 --- a/docs/markdown/Release-notes-for-0.51.0.md +++ b/docs/markdown/Release-notes-for-0.51.0.md @@ -110,7 +110,7 @@ dependency you have. ```meson dep = dependency('could_be_cmake_or_pkgconfig') # cmake returns 'YES', pkg-config returns 'ON' -if ['YES', 'ON'].contains(dep.get_variable(pkg-config : 'var-name', cmake : 'COP_VAR_NAME', default_value : 'NO')) +if ['YES', 'ON'].contains(dep.get_variable(pkgconfig : 'var-name', cmake : 'COP_VAR_NAME', default_value : 'NO')) error('Cannot build your project when dep is built with var-name support') endif ``` |