Use relative path for git repo reference.

So it will work with git_EXECUTABLE='C:\cygwin\bin\git.exe' in a
non-cygwin-based build.
This commit is contained in:
David Cole 2010-06-03 15:59:36 -04:00
parent d093abef7e
commit d569b48b7a

View File

@ -321,7 +321,7 @@ endif()
if(do_git_tests)
set(local_git_repo "${CMAKE_CURRENT_BINARY_DIR}/LocalRepositories/GIT")
set(local_git_repo "../../LocalRepositories/GIT")
# Unzip/untar the git repository in our source folder so that other
# projects below may use it to test git args of ExternalProject_Add