aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/Reference-manual.md
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2018-12-16 21:53:17 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2018-12-22 19:00:40 +0200
commit4df9006ca43338fea07b9d542f94da34369e43d3 (patch)
tree26e1802d99239d6b9c71f050771f323454da1498 /docs/markdown/Reference-manual.md
parent7d5660dcbe15fb88edcd614c6288e2aa87c0698f (diff)
downloadmeson-4df9006ca43338fea07b9d542f94da34369e43d3.zip
meson-4df9006ca43338fea07b9d542f94da34369e43d3.tar.gz
meson-4df9006ca43338fea07b9d542f94da34369e43d3.tar.bz2
Can specify a string to print when dep not found. Closes #2407.
Diffstat (limited to 'docs/markdown/Reference-manual.md')
-rw-r--r--docs/markdown/Reference-manual.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md
index 2fc61d5..8d0d123 100644
--- a/docs/markdown/Reference-manual.md
+++ b/docs/markdown/Reference-manual.md
@@ -395,6 +395,8 @@ are also supported. This function supports the following keyword arguments:
the build machine system rather than the host system (i.e. where the
cross compiled binary will run on), usually only needed if you build
a tool to be used during compilation.
+- `not_found_message` *(added 0.50.0)* is an optional string that will
+ be printed as a `message()` if the dependency was not found.
- `required`, when set to false, Meson will proceed with the build
even if the dependency is not found. Since *0.47.0* the value of a
[`feature`](Build-options.md#features) option can also be passed.