diff options
Diffstat (limited to 'docs/markdown/Dependencies.md')
-rw-r--r-- | docs/markdown/Dependencies.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/markdown/Dependencies.md b/docs/markdown/Dependencies.md index 8cffba4..6937448 100644 --- a/docs/markdown/Dependencies.md +++ b/docs/markdown/Dependencies.md @@ -173,6 +173,10 @@ it automatically. cmake_dep = dependency('ZLIB', method : 'cmake', modules : ['ZLIB::ZLIB']) ``` +Support for adding additional `COMPONENTS` for the CMake `find_package` lookup +is provided with the `components` kwarg (*introduced in 0.54.0*). All specified +componets will be passed directly to `find_package(COMPONENTS)`. + It is also possible to reuse existing `Find<name>.cmake` files with the `cmake_module_path` property. Using this property is equivalent to setting the `CMAKE_MODULE_PATH` variable in CMake. The path(s) given to `cmake_module_path` |