### Navigation

- index
- next |
- previous |
- CMake »
- 3.2.3 Documentation »
- cmake-modules(7) »

# 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.

### Navigation

- index
- next |
- previous |
- CMake »
- 3.2.3 Documentation »
- cmake-modules(7) »