CMakeFindDependencyMacro

CMakeFindDependencyMacro

find_dependency(<dep> [<version> [EXACT]])

find_dependency() wraps a find_package() call for a package dependency. It is designed to be used in a <package>Config.cmake file, and it forwards the correct parameters for EXACT, QUIET and REQUIRED which were passed to the original find_package() call. It also sets an informative diagnostic message if the dependency could not be found.

© 2000–2017 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.8/module/CMakeFindDependencyMacro.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部