Mercurial > hg > orthanc
diff Resources/CMake/DcmtkConfiguration.cmake @ 1546:17a3814fd8a1
fix patches on windows
author | jodogne |
---|---|
date | Fri, 14 Aug 2015 11:16:17 +0200 |
parents | fbf763bb1fa3 |
children | b7dfb048b2f3 c095b0ddeea6 |
line wrap: on
line diff
--- a/Resources/CMake/DcmtkConfiguration.cmake Thu Aug 13 21:02:31 2015 +0200 +++ b/Resources/CMake/DcmtkConfiguration.cmake Fri Aug 14 11:16:17 2015 +0200 @@ -136,7 +136,8 @@ # This patch improves speed, even for Windows execute_process( - COMMAND ${PATCH_EXECUTABLE} -p0 -N -i ${ORTHANC_ROOT}/Resources/Patches/dcmtk-linux-speed.patch + COMMAND ${PATCH_EXECUTABLE} -p0 -N + INPUT_FILE ${ORTHANC_ROOT}/Resources/Patches/dcmtk-linux-speed.patch WORKING_DIRECTORY ${CMAKE_BINARY_DIR} RESULT_VARIABLE Failure )