diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2022-09-12 15:16:38 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2022-09-12 15:16:38 -0400 |
commit | c555724b4953631581acadf40f13e6001c259e97 (patch) | |
tree | ac47f4b42391c16bcc4e4427a0918e4e3744acd4 /docs/markdown | |
parent | 0042095d120ced4852256bccf94aa7939f1c72c1 (diff) | |
download | meson-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.
Diffstat (limited to 'docs/markdown')
-rw-r--r-- | docs/markdown/Release-notes-for-0.59.0.md | 2 |
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 |