FindGitΒΆ
The module defines the following IMPORTED targets (when
CMAKE_ROLE is PROJECT):
Git::GitExecutable of the Git command-line client.
The module defines the following variables:
GIT_EXECUTABLEPath to Git command-line client.
Git_FOUND,GIT_FOUNDTrue if the Git command-line client was found.
GIT_VERSION_STRINGThe version of Git found.
Example usage:
find_package(Git)
if(Git_FOUND)
message("Git found: ${GIT_EXECUTABLE}")
endif()