diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2018-08-27 21:29:57 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-27 21:29:57 +0300 |
commit | 899b0aae9f9afacccfd5963e84df6634e9835b5c (patch) | |
tree | 41d7575d4d7c9a825715cd1243de4a129aea933a /docs/markdown/snippets | |
parent | ac07ae7d41e82663c955363e5124404fe9410262 (diff) | |
parent | 7fff8318f537400249f191eda373c716e5ba2bee (diff) | |
download | meson-899b0aae9f9afacccfd5963e84df6634e9835b5c.zip meson-899b0aae9f9afacccfd5963e84df6634e9835b5c.tar.gz meson-899b0aae9f9afacccfd5963e84df6634e9835b5c.tar.bz2 |
Merge pull request #4035 from jon-turney/factor-out-version-check
Apply dependency(version:) check for all dependency types
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r-- | docs/markdown/snippets/dependency_version.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/markdown/snippets/dependency_version.md b/docs/markdown/snippets/dependency_version.md new file mode 100644 index 0000000..4bbf346 --- /dev/null +++ b/docs/markdown/snippets/dependency_version.md @@ -0,0 +1,14 @@ +## `dependency(version:)` now applies to all dependency types + +Previously, version constraints were only enforced for dependencies found using +the pkg-config dependency provider. These constraints now apply to dependencies +found using any dependency provider. + +Some combinations of dependency, host and method do not currently support +discovery of the version. In these cases, the dependency will not be found if a +version constraint is applied, otherwise the `version()` method for the +dependency object will return `'unknown'`. + +(If discovering the version in one of these combinations is important to you, +and a method exists to determine the version in that case, please file an issue +with as much information as possible.) |