mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 19:52:48 +08:00
don't change line endings on patching. (#15578)
This commit is contained in:
parent
eb6655cac5
commit
6f593eb61e
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user