Mercurial > hg > orthanc
comparison Resources/CMake/MongooseConfiguration.cmake @ 2186:8b51b133bb8b
move of third party downloads to the main server
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 29 Nov 2016 12:22:59 +0100 |
parents | 17a3814fd8a1 |
children | 741bb76634d3 |
comparison
equal
deleted
inserted
replaced
2185:d402a80567e6 | 2186:8b51b133bb8b |
---|---|
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 "http://www.montefiore.ulg.ac.be/~jodogne/Orthanc/ThirdPartyDownloads/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 "http://www.montefiore.ulg.ac.be/~jodogne/Orthanc/ThirdPartyDownloads/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() |