Skip to content

Commit

Permalink
use cross platform git patch command
Browse files Browse the repository at this point in the history
  • Loading branch information
jcschaff committed Jan 19, 2025
1 parent 2728a83 commit faa5597
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 @@ -230,7 +230,7 @@ add_custom_command(
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 git apply ${PATCH_FILE}
DEPENDS ${PATCH_FILE}
COMMENT "Patching libzippp"
)
Expand Down

0 comments on commit faa5597

Please sign in to comment.