Skip to content

Commit

Permalink
when pip is run, patch already applied, need --forward flag
Browse files Browse the repository at this point in the history
  • Loading branch information
jcschaff committed Jan 20, 2025
1 parent 0377e0d commit 4bb3370
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 @@ -241,7 +241,7 @@ else()
COMMAND ${CMAKE_COMMAND} -E echo "Applying patch to libzippp"
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${FILE_TO_PATCH} ${FILE_TO_PATCH}.bak
COMMAND ${CMAKE_COMMAND} -E touch ${FILE_TO_PATCH}
COMMAND patch ${FILE_TO_PATCH} < ${PATCH_FILE}
COMMAND patch --forward ${FILE_TO_PATCH} < ${PATCH_FILE}
DEPENDS ${PATCH_FILE}
COMMENT "Patching libzippp"
)
Expand Down

0 comments on commit 4bb3370

Please sign in to comment.