find_dependency() macro wraps a
find_package() call for a package dependency:
It is designed to be used in a Package Configuration File (
find_dependency forwards the correct parameters for
REQUIRED which were passed to the original
find_package() call. Any additional arguments specified are forwarded to
If the dependency could not be found it sets an informative diagnostic message and calls
return() to end processing of the calling package configuration file and return to the
find_package() command that loaded it.
© 2000–2019 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.