Is it possible to update the FindGit.cmake module to be more friendly?  I 
changed the line:

find_program(GIT_EXECUTABLE
  NAMES ${git_names}
  DOC "git command line client"
  )

To:

find_program(GIT_EXECUTABLE
  NAMES ${git_names}
  PATHS "$ENV{ProgramFiles}/Git/bin"
  DOC "git command line client"
  )

And it found Git fine on my system.  I'm not sure if that's the only path that 
ought to be added, but I know that worked for me.

--
Shane Dixon
Linux Engineer
Atmel Corporation 

_______________________________________________
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