diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2018-12-06 15:03:46 -0500 |
---|---|---|
committer | Xavier Claessens <xavier.claessens@collabora.com> | 2018-12-27 23:06:28 -0500 |
commit | b6cede2928e80d6bd0512c82ad6787c03faae1e6 (patch) | |
tree | 19202bffbeef80c9c2116f5909fb9a078005ae99 /docs/markdown/Reference-manual.md | |
parent | ff2aa5a9ef48bc083e01d7af578799fc4eada764 (diff) | |
download | meson-b6cede2928e80d6bd0512c82ad6787c03faae1e6.zip meson-b6cede2928e80d6bd0512c82ad6787c03faae1e6.tar.gz meson-b6cede2928e80d6bd0512c82ad6787c03faae1e6.tar.bz2 |
find_library: Add 'has_headers' kwarg
A library without its headers is often useless, so it is common to check
them together.
Diffstat (limited to 'docs/markdown/Reference-manual.md')
-rw-r--r-- | docs/markdown/Reference-manual.md | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md index f2d2129..92a7aed 100644 --- a/docs/markdown/Reference-manual.md +++ b/docs/markdown/Reference-manual.md @@ -1704,7 +1704,10 @@ the following methods: option can also be passed to the `required` keyword argument. *Since 0.49.0* if the keyword argument `disabler` is `true` and the dependency couldn't be found, return a [disabler object](#disabler-object) - instead of a not-found dependency. + instead of a not-found dependency. *Since 0.50.0* the `has_headers` keyword + argument can be a list of header files that must be found as well, using + `has_header()` method. All keyword arguments prefixed with `header_` will be + passed down to `has_header()` method with the prefix removed. - `first_supported_argument(list_of_strings)`, given a list of strings, returns the first argument that passes the `has_argument` |