Commit 6c474568 authored by Dekker's avatar Dekker
Browse files

COMP: Added git reset, before applying patch, to fix another error, "patch...

COMP: Added git reset, before applying patch, to fix another error, "patch does not apply". W/ Floris.
parent 4f325b86
......@@ -25,7 +25,7 @@ ExternalProject_Add( ${proj}
GIT_REPOSITORY ${ITK_REPOSITORY}
GIT_TAG ${ITK_TAG}
UPDATE_COMMAND ""
PATCH_COMMAND "${GIT_EXECUTABLE}" apply --whitespace=fix "${CMAKE_SOURCE_DIR}/Patches/itk_png_mangle_get_uint_31.patch"
PATCH_COMMAND "${GIT_EXECUTABLE}" reset --hard && "${GIT_EXECUTABLE}" apply --whitespace=fix "${CMAKE_SOURCE_DIR}/Patches/itk_png_mangle_get_uint_31.patch"
SOURCE_DIR ${proj}
BINARY_DIR ${proj}-build
CMAKE_ARGS
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment