From 3cf03ec6d603d2c4699cefb9fabdbd8de321a3f2 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Wed, 12 Sep 2018 13:38:36 -0400 Subject: find_installation: Add support for feature option in required kwarg Closes: #4165. --- docs/markdown/Python-module.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'docs/markdown') diff --git a/docs/markdown/Python-module.md b/docs/markdown/Python-module.md index 51721f0..2bcad78 100644 --- a/docs/markdown/Python-module.md +++ b/docs/markdown/Python-module.md @@ -45,7 +45,9 @@ Keyword arguments are the following: abort if no python installation can be found. If `required` is set to `false`, Meson will continue even if no python installation was found. You can then use the `.found()` method on the returned object to check - whether it was found or not. + whether it was found or not. Since *0.48.0* the value of a + [`feature`](Build-options.md#features) option can also be passed to the + `required` keyword argument. **Returns**: a [python installation][`python_installation` object] -- cgit v1.1