Przeglądaj źródła

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.
David Cole 15 lat temu
rodzic
commit
d569b48b7a
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      Tests/ExternalProject/CMakeLists.txt

+ 1 - 1
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