[CMake] FindGit.cmake on Windows
Dixon, Shane
Shane.Dixon at atmel.com
Thu Sep 30 16:53:10 EDT 2010
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
More information about the CMake
mailing list