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.
This commit is contained in:
Eli Schwartz 2022-09-12 15:16:38 -04:00
parent 0042095d12
commit c555724b49
No known key found for this signature in database
GPG Key ID: CEB167EFB5722BD6
1 changed files with 1 additions and 1 deletions

View File

@ -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