Mercurial > hg > orthanc
comparison Resources/CMake/MongooseConfiguration.cmake @ 2384:74d0953a3681
revert
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 30 Aug 2017 09:04:14 +0200 |
parents | 741bb76634d3 |
children | 0c2a8d5e0097 |
comparison
equal
deleted
inserted
replaced
2383:741bb76634d3 | 2384:74d0953a3681 |
---|---|
9 | 9 |
10 if (0) | 10 if (0) |
11 # Use Mongoose 3.1 | 11 # Use Mongoose 3.1 |
12 DownloadPackage( | 12 DownloadPackage( |
13 "e718fc287b4eb1bd523be3fa00942bb0" | 13 "e718fc287b4eb1bd523be3fa00942bb0" |
14 "https://www.orthanc-server.com/downloads/third-party/mongoose-3.1.tgz" | 14 "http://www.orthanc-server.com/downloads/third-party/mongoose-3.1.tgz" |
15 "${MONGOOSE_SOURCES_DIR}") | 15 "${MONGOOSE_SOURCES_DIR}") |
16 | 16 |
17 add_definitions(-DMONGOOSE_USE_CALLBACKS=0) | 17 add_definitions(-DMONGOOSE_USE_CALLBACKS=0) |
18 set(MONGOOSE_PATCH ${ORTHANC_ROOT}/Resources/Patches/mongoose-3.1-patch.diff) | 18 set(MONGOOSE_PATCH ${ORTHANC_ROOT}/Resources/Patches/mongoose-3.1-patch.diff) |
19 | 19 |
20 else() | 20 else() |
21 # Use Mongoose 3.8 | 21 # Use Mongoose 3.8 |
22 DownloadPackage( | 22 DownloadPackage( |
23 "7e3296295072792cdc3c633f9404e0c3" | 23 "7e3296295072792cdc3c633f9404e0c3" |
24 "https://www.orthanc-server.com/downloads/third-party/mongoose-3.8.tgz" | 24 "http://www.orthanc-server.com/downloads/third-party/mongoose-3.8.tgz" |
25 "${MONGOOSE_SOURCES_DIR}") | 25 "${MONGOOSE_SOURCES_DIR}") |
26 | 26 |
27 add_definitions(-DMONGOOSE_USE_CALLBACKS=1) | 27 add_definitions(-DMONGOOSE_USE_CALLBACKS=1) |
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() |