Add PATH_SUFFIXES for finding git.

This commit makes it automatic to find msysGit installed
in its default locations on Windows.
This commit is contained in:
David Cole 2011-01-06 10:09:48 -05:00
parent 99ddf6a12d
commit ed2b314e4f
1 changed files with 1 additions and 0 deletions

View File

@ -35,6 +35,7 @@ endif()
find_program(GIT_EXECUTABLE
NAMES ${git_names}
PATH_SUFFIXES Git/cmd Git/bin
DOC "git command line client"
)
mark_as_advanced(GIT_EXECUTABLE)