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:
parent
99ddf6a12d
commit
ed2b314e4f
|
@ -35,6 +35,7 @@ endif()
|
||||||
|
|
||||||
find_program(GIT_EXECUTABLE
|
find_program(GIT_EXECUTABLE
|
||||||
NAMES ${git_names}
|
NAMES ${git_names}
|
||||||
|
PATH_SUFFIXES Git/cmd Git/bin
|
||||||
DOC "git command line client"
|
DOC "git command line client"
|
||||||
)
|
)
|
||||||
mark_as_advanced(GIT_EXECUTABLE)
|
mark_as_advanced(GIT_EXECUTABLE)
|
||||||
|
|
Loading…
Reference in New Issue