The module defines the following IMPORTED
targets (when CMAKE_ROLE
is PROJECT
):
Git::Git
The module defines the following variables:
GIT_EXECUTABLE
Git_FOUND, GIT_FOUND
GIT_VERSION_STRING
Example usage:
find_package(Git) if(Git_FOUND) message("Git found: ${GIT_EXECUTABLE}") endif()
© 2000–2019 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.15/module/FindGit.html