diff options
| author | Leonid Pospelov <pospelovlm@yandex.ru> | 2020-12-16 01:37:00 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-15 14:37:00 -0800 |
| commit | f78ccd9f0ea37356a22079a1a661456eb380d157 (patch) | |
| tree | b21e5e773de1b1d38e307764223def983c828241 /scripts | |
| parent | 0d76ba45a47961ee0da9bf484be31c1ae5a7e945 (diff) | |
| download | vcpkg-f78ccd9f0ea37356a22079a1a661456eb380d157.tar.gz vcpkg-f78ccd9f0ea37356a22079a1a661456eb380d157.zip | |
[mongo-c-driver] Fix Git too long path error with -c (#14825)
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/cmake/vcpkg_apply_patches.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/cmake/vcpkg_apply_patches.cmake b/scripts/cmake/vcpkg_apply_patches.cmake index 25ba45331..a3b6a46ee 100644 --- a/scripts/cmake/vcpkg_apply_patches.cmake +++ b/scripts/cmake/vcpkg_apply_patches.cmake @@ -51,7 +51,7 @@ function(vcpkg_apply_patches) message(STATUS "Applying patch ${PATCH}") set(LOGNAME patch-${TARGET_TRIPLET}-${PATCHNUM}) vcpkg_execute_in_download_mode( - COMMAND ${GIT} --work-tree=. --git-dir=.git apply "${ABSOLUTE_PATCH}" --ignore-whitespace --whitespace=nowarn --verbose + COMMAND ${GIT} -c core.longpaths=true --work-tree=. --git-dir=.git apply "${ABSOLUTE_PATCH}" --ignore-whitespace --whitespace=nowarn --verbose OUTPUT_FILE ${CURRENT_BUILDTREES_DIR}/${LOGNAME}-out.log ERROR_VARIABLE error WORKING_DIRECTORY ${_ap_SOURCE_PATH} |
