From d569b48b7adaf59a0df54f45c998a591ba51637e Mon Sep 17 00:00:00 2001 From: David Cole Date: Thu, 3 Jun 2010 15:59:36 -0400 Subject: 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. --- Tests/ExternalProject/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/ExternalProject/CMakeLists.txt b/Tests/ExternalProject/CMakeLists.txt index 4c93ef3..8257e90 100644 --- a/Tests/ExternalProject/CMakeLists.txt +++ b/Tests/ExternalProject/CMakeLists.txt @@ -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 -- cgit v0.12