summaryrefslogtreecommitdiffstats
path: root/Tests/ExternalProject
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2010-06-03 19:59:36 (GMT)
committerDavid Cole <david.cole@kitware.com>2010-06-03 19:59:36 (GMT)
commitd569b48b7adaf59a0df54f45c998a591ba51637e (patch)
tree4deccefbbda96b678dd9b30101331edaedfdd005 /Tests/ExternalProject
parentd093abef7e1b965cd6bc8a347852905d6c2b0913 (diff)
downloadCMake-d569b48b7adaf59a0df54f45c998a591ba51637e.zip
CMake-d569b48b7adaf59a0df54f45c998a591ba51637e.tar.gz
CMake-d569b48b7adaf59a0df54f45c998a591ba51637e.tar.bz2
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.
Diffstat (limited to 'Tests/ExternalProject')
-rw-r--r--Tests/ExternalProject/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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