summaryrefslogtreecommitdiffstats
path: root/Modules/FindGit.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-01-11 20:53:43 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2011-01-11 20:53:43 (GMT)
commit46ed6c65a8b4a8c56cd66fca7bbaec49d1587010 (patch)
tree6bc5d4f2043921ebc3a96c2339c0dca6131de8d3 /Modules/FindGit.cmake
parent50e9e7d34505a53ca73f64a28f6a476e570ca481 (diff)
parented2b314e4fac544eb4d657fd3ad82db95655b51a (diff)
downloadCMake-46ed6c65a8b4a8c56cd66fca7bbaec49d1587010.zip
CMake-46ed6c65a8b4a8c56cd66fca7bbaec49d1587010.tar.gz
CMake-46ed6c65a8b4a8c56cd66fca7bbaec49d1587010.tar.bz2
Merge topic 'improve-findgit'
ed2b314 Add PATH_SUFFIXES for finding git.
Diffstat (limited to 'Modules/FindGit.cmake')
-rw-r--r--Modules/FindGit.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/FindGit.cmake b/Modules/FindGit.cmake
index 06df3b0..af316d8 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)