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:
parent
d093abef7e
commit
d569b48b7a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue