aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2020-02-18 15:03:21 -0800
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2020-02-19 07:07:35 +0530
commit73ddc014774102b378bb89bf9d4801d7b231b745 (patch)
tree1f478c6cb10c9ece2ec81d979be9b38e31c07223 /docs/markdown
parent52d36aaec13966b68994764191c8881edc92291e (diff)
downloadmeson-73ddc014774102b378bb89bf9d4801d7b231b745.zip
meson-73ddc014774102b378bb89bf9d4801d7b231b745.tar.gz
meson-73ddc014774102b378bb89bf9d4801d7b231b745.tar.bz2
modules/cmake: Add a found() method to the cmake subproject
Just like the native meson subproject has.
Diffstat (limited to 'docs/markdown')
-rw-r--r--docs/markdown/CMake-module.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/markdown/CMake-module.md b/docs/markdown/CMake-module.md
index a021396..a15e3c2 100644
--- a/docs/markdown/CMake-module.md
+++ b/docs/markdown/CMake-module.md
@@ -99,6 +99,8 @@ and supports the following methods:
- `get_variable(name)` fetches the specified variable from inside
the subproject. Usually `dependency()` or `target()` should be
preferred to extract build targets.
+ - `found` returns true if the subproject is available, otherwise false
+ *new in in 0.53.2*
## CMake configuration files