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 5bf3338 commit 4685859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/CPM.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ function(cpm_add_patches)
list(APPEND temp_list "&&")
endif()
# Add the patch command to the list
list(APPEND temp_list "${PATCH_EXECUTABLE}" "--batch" "-p1" "<" "${PATCH_FILE}")
list(APPEND temp_list "${PATCH_EXECUTABLE}" "-t" "-p1" "<" "${PATCH_FILE}")
endforeach()

# Move temp out into parent scope.
Expand Down

0 comments on commit 4685859

Please sign in to comment.