[CMake] FindGit.cmake on Windows
Dixon, Shane
Shane.Dixon at atmel.com
Tue Aug 31 12:01:23 EDT 2010
I wasn't sure how to create a patch using git in Windows. Is it possible to modify the next version of CMake to change the FindGit.cmake:
From:
find_program(GIT_EXECUTABLE
NAMES ${git_names}
DOC "git command line client"
)
To:
find_program(GIT_EXECUTABLE
NAMES ${git_names}
HINTS $ENV{ProgramFiles}/Git/bin
DOC "git command line client"
)
This change worked for me so that the GIT_EXECUTABLE variable gets populated correctly when using a Visual Studio 2008 command prompt.
--
Shane Dixon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100831/659a9203/attachment.htm>
More information about the CMake
mailing list