mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-18 17:31:57 +08:00
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:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user