From c555724b4953631581acadf40f13e6001c259e97 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Mon, 12 Sep 2022 15:16:38 -0400 Subject: 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. --- docs/markdown/Release-notes-for-0.59.0.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/markdown') 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 -- cgit v1.1