Skip to content

Commit

Permalink
--ignore-whitespace is needed for the patches to apply on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
amilendra committed Nov 7, 2023
1 parent 430fe27 commit dfb4e2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ FetchContent_Declare(llvmproject
GIT_TAG "${llvmproject_TAG}"
GIT_SHALLOW "${llvmproject_SHALLOW}"
GIT_PROGRESS TRUE
PATCH_COMMAND git reset --quiet --hard && git clean --quiet --force -dx && git am --3way ${llvm_project_patches}
PATCH_COMMAND git reset --quiet --hard && git clean --quiet --force -dx && git am --ignore-whitespace --3way ${llvm_project_patches}
# Add the llvm subdirectory later to ensure that
# LLVMEmbeddedToolchainForArm is the first project declared.
# Otherwise CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT
Expand Down

0 comments on commit dfb4e2b

Please sign in to comment.