Skip to content

Commit

Permalink
restore || true to skip patches that are already applied (#330)
Browse files Browse the repository at this point in the history
Introduced by #277
Fixes #304
  • Loading branch information
dayeol committed May 13, 2023
1 parent e574e9e commit a85df47
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 @@ -11,7 +11,7 @@ set(CMAKE_VERBOSE_MAKEFILE ON)
macro(add_patch submodule patch working_directory patch_list)
add_custom_command(OUTPUT ${patch}.applied
WORKING_DIRECTORY ${working_directory}
COMMAND patch --forward -p0 < ${patchdir}/${submodule}/${patch}
COMMAND patch --forward -p0 < ${patchdir}/${submodule}/${patch} || true
COMMAND touch ${CMAKE_BINARY_DIR}/${patch}.applied
COMMENT "Applying ${patch}")
list(APPEND ${patch_list} ${patch}.applied)
Expand Down

0 comments on commit a85df47

Please sign in to comment.