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

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to