Mercurial > hg > orthanc
comparison 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 |
comparison
equal
deleted
inserted
replaced
1545:33d34bc4ac15 | 1546:17a3814fd8a1 |
---|---|
134 endif() | 134 endif() |
135 endif() | 135 endif() |
136 | 136 |
137 # This patch improves speed, even for Windows | 137 # This patch improves speed, even for Windows |
138 execute_process( | 138 execute_process( |
139 COMMAND ${PATCH_EXECUTABLE} -p0 -N -i ${ORTHANC_ROOT}/Resources/Patches/dcmtk-linux-speed.patch | 139 COMMAND ${PATCH_EXECUTABLE} -p0 -N |
140 INPUT_FILE ${ORTHANC_ROOT}/Resources/Patches/dcmtk-linux-speed.patch | |
140 WORKING_DIRECTORY ${CMAKE_BINARY_DIR} | 141 WORKING_DIRECTORY ${CMAKE_BINARY_DIR} |
141 RESULT_VARIABLE Failure | 142 RESULT_VARIABLE Failure |
142 ) | 143 ) |
143 | 144 |
144 if (Failure AND FirstRun) | 145 if (Failure AND FirstRun) |