Mercurial > hg > orthanc
comparison Resources/CMake/MongooseConfiguration.cmake @ 1546:17a3814fd8a1
fix patches on windows
author | jodogne |
---|---|
date | Fri, 14 Aug 2015 11:16:17 +0200 |
parents | 8b6d8f9b9f71 |
children | 8b51b133bb8b |
comparison
equal
deleted
inserted
replaced
1545:33d34bc4ac15 | 1546:17a3814fd8a1 |
---|---|
28 set(MONGOOSE_PATCH ${ORTHANC_ROOT}/Resources/Patches/mongoose-3.8-patch.diff) | 28 set(MONGOOSE_PATCH ${ORTHANC_ROOT}/Resources/Patches/mongoose-3.8-patch.diff) |
29 endif() | 29 endif() |
30 | 30 |
31 # Patch mongoose | 31 # Patch mongoose |
32 execute_process( | 32 execute_process( |
33 COMMAND ${PATCH_EXECUTABLE} -N mongoose.c -i ${MONGOOSE_PATCH} | 33 COMMAND ${PATCH_EXECUTABLE} -N mongoose.c |
34 INPUT_FILE ${MONGOOSE_PATCH} | |
34 WORKING_DIRECTORY ${MONGOOSE_SOURCES_DIR} | 35 WORKING_DIRECTORY ${MONGOOSE_SOURCES_DIR} |
35 RESULT_VARIABLE Failure | 36 RESULT_VARIABLE Failure |
36 ) | 37 ) |
37 | 38 |
38 if (Failure AND FirstRun) | 39 if (Failure AND FirstRun) |