From ed2b314e4fac544eb4d657fd3ad82db95655b51a Mon Sep 17 00:00:00 2001 From: David Cole Date: Thu, 6 Jan 2011 10:09:48 -0500 Subject: Add PATH_SUFFIXES for finding git. This commit makes it automatic to find msysGit installed in its default locations on Windows. --- Modules/FindGit.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/Modules/FindGit.cmake b/Modules/FindGit.cmake index 8188715..9dad99c 100644 --- a/Modules/FindGit.cmake +++ b/Modules/FindGit.cmake @@ -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) -- cgit v0.12