From 73ddc014774102b378bb89bf9d4801d7b231b745 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Tue, 18 Feb 2020 15:03:21 -0800 Subject: modules/cmake: Add a found() method to the cmake subproject Just like the native meson subproject has. --- docs/markdown/CMake-module.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs/markdown') 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 -- cgit v1.1