From bf789b04f3d8b06f836aab384f3dee39b0188df6 Mon Sep 17 00:00:00 2001 From: b-r-o-c-k Date: Sat, 17 Mar 2018 16:20:14 -0500 Subject: build/windows: Ignore whitespace when applying patches The --ignore-whitespace argument was added when applying patches to prevent failures when patched files have different line endings. --- third-party/cmake/BuildLibvterm.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'third-party/cmake/BuildLibvterm.cmake') diff --git a/third-party/cmake/BuildLibvterm.cmake b/third-party/cmake/BuildLibvterm.cmake index 73e2990654..f37fca56dd 100644 --- a/third-party/cmake/BuildLibvterm.cmake +++ b/third-party/cmake/BuildLibvterm.cmake @@ -38,7 +38,7 @@ if(WIN32) if(MSVC) set(LIBVTERM_PATCH_COMMAND ${GIT_EXECUTABLE} -C ${DEPS_BUILD_DIR}/src/libvterm init - COMMAND ${GIT_EXECUTABLE} -C ${DEPS_BUILD_DIR}/src/libvterm apply + COMMAND ${GIT_EXECUTABLE} -C ${DEPS_BUILD_DIR}/src/libvterm apply --ignore-whitespace ${CMAKE_CURRENT_SOURCE_DIR}/patches/libvterm-Remove-VLAs-for-MSVC.patch) endif() set(LIBVTERM_CONFIGURE_COMMAND ${CMAKE_COMMAND} -E copy -- cgit