summaryrefslogtreecommitdiff
path: root/Tests
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2010-06-03 15:59:36 -0400
committerDavid Cole <david.cole@kitware.com>2010-06-03 15:59:36 -0400
commitd569b48b7adaf59a0df54f45c998a591ba51637e (patch)
tree4deccefbbda96b678dd9b30101331edaedfdd005 /Tests
parentd093abef7e1b965cd6bc8a347852905d6c2b0913 (diff)
downloadcmake-d569b48b7adaf59a0df54f45c998a591ba51637e.tar.gz
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')
-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 4c93ef3e1a..8257e90a5b 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