No subject


Sun Apr 3 09:54:08 EDT 2011


CTK relies on the "official" FindGit.cmake script, which gives precedence to
"git.cmd" when looking for a git executable.

On Windows, using git.cmd instead of git.exe leads to problems when used in the
default git update command of the ExternalProject_Add macro. The default update
command should execute several git calls (fetch, checkout, submodule update)
where only the first is actually run. Using git.exe, all calls are executed
correctly.

We should roll our own version of FindGit.cmake, giving priority to git.exe on
Windows. This should probably also be fixed in the CMake version of the script.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-09-03 09:53 Jean-Christophe Fillion-RobinNew Issue                         
          
======================================================================



More information about the cmake-developers mailing list