aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2022-09-12 15:16:38 -0400
committerEli Schwartz <eschwartz@archlinux.org>2022-09-12 15:16:38 -0400
commitc555724b4953631581acadf40f13e6001c259e97 (patch)
treeac47f4b42391c16bcc4e4427a0918e4e3744acd4
parent0042095d120ced4852256bccf94aa7939f1c72c1 (diff)
downloadmeson-c555724b4953631581acadf40f13e6001c259e97.zip
meson-c555724b4953631581acadf40f13e6001c259e97.tar.gz
meson-c555724b4953631581acadf40f13e6001c259e97.tar.bz2
docs: fix broken porting advice for intl dependency in release notes
See https://github.com/theimpossibleastronaut/rmw/pull/345#discussion_r967876201 The check for `.found()` implies the dependency lookup should be optional, but the example didn't make it optional.
-rw-r--r--docs/markdown/Release-notes-for-0.59.0.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/markdown/Release-notes-for-0.59.0.md b/docs/markdown/Release-notes-for-0.59.0.md
index 68f4451..8a04d34 100644
--- a/docs/markdown/Release-notes-for-0.59.0.md
+++ b/docs/markdown/Release-notes-for-0.59.0.md
@@ -125,7 +125,7 @@ endif
one may simply use:
```
-intl_dep = dependency('intl')
+intl_dep = dependency('intl', required: false)
if intl_dep.found()
# build options that need gettext