Skip to content

Commit dfb4e2b

Browse files
committed
--ignore-whitespace is needed for the patches to apply on Windows
1 parent 430fe27 commit dfb4e2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ FetchContent_Declare(llvmproject
265265
GIT_TAG "${llvmproject_TAG}"
266266
GIT_SHALLOW "${llvmproject_SHALLOW}"
267267
GIT_PROGRESS TRUE
268-
PATCH_COMMAND git reset --quiet --hard && git clean --quiet --force -dx && git am --3way ${llvm_project_patches}
268+
PATCH_COMMAND git reset --quiet --hard && git clean --quiet --force -dx && git am --ignore-whitespace --3way ${llvm_project_patches}
269269
# Add the llvm subdirectory later to ensure that
270270
# LLVMEmbeddedToolchainForArm is the first project declared.
271271
# Otherwise CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT

0 commit comments

Comments
 (0)