aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAlexander Neumann <30894796+Neumann-A@users.noreply.github.com>2021-01-14 23:51:36 +0100
committerGitHub <noreply@github.com>2021-01-14 14:51:36 -0800
commit6f593eb61e1c8d9b675887f2451374ca89acaa60 (patch)
tree180b71cdf25dff1e94c971450835d36a119b3837 /scripts
parenteb6655cac53223a89985909dcda05ccde219d973 (diff)
downloadvcpkg-6f593eb61e1c8d9b675887f2451374ca89acaa60.tar.gz
vcpkg-6f593eb61e1c8d9b675887f2451374ca89acaa60.zip
don't change line endings on patching. (#15578)
Diffstat (limited to 'scripts')
-rw-r--r--scripts/cmake/vcpkg_apply_patches.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/cmake/vcpkg_apply_patches.cmake b/scripts/cmake/vcpkg_apply_patches.cmake
index a3b6a46ee..b2e226351 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} -c core.longpaths=true --work-tree=. --git-dir=.git apply "${ABSOLUTE_PATCH}" --ignore-whitespace --whitespace=nowarn --verbose
+ COMMAND ${GIT} -c core.longpaths=true -c core.autocrlf=false --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}