Skip to content

Commit

Permalink
Update CPM.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
lemire authored Jul 16, 2024
1 parent 278147f commit 5bf3338
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cmake/CPM.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -516,8 +516,6 @@ function(cpm_add_patches)
list(APPEND temp_list "&&")
endif()
# Add the patch command to the list
# The --batch flag is used to prevent the patch command from asking for user input
# and it does not apply the patch if it is unnecessary.
list(APPEND temp_list "${PATCH_EXECUTABLE}" "--batch" "-p1" "<" "${PATCH_FILE}")
endforeach()

Expand Down

0 comments on commit 5bf3338

Please sign in to comment.