Mercurial > hg > orthanc
comparison OrthancFramework/Resources/CMake/MongooseConfiguration.cmake @ 5271:c5f243ad7103
switch third party downloads to UCLouvain which provides faster network
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 13 Apr 2023 16:39:16 +0200 |
parents | 0ea402b4d901 |
children | aa1c09fa6632 |
comparison
equal
deleted
inserted
replaced
5269:c3f425e78539 | 5271:c5f243ad7103 |
---|---|
30 | 30 |
31 if (0) | 31 if (0) |
32 # Use Mongoose 3.1 | 32 # Use Mongoose 3.1 |
33 DownloadPackage( | 33 DownloadPackage( |
34 "e718fc287b4eb1bd523be3fa00942bb0" | 34 "e718fc287b4eb1bd523be3fa00942bb0" |
35 "http://orthanc.osimis.io/ThirdPartyDownloads/mongoose-3.1.tgz" | 35 "https://orthanc.uclouvain.be/third-party-downloads/mongoose-3.1.tgz" |
36 "${MONGOOSE_SOURCES_DIR}") | 36 "${MONGOOSE_SOURCES_DIR}") |
37 | 37 |
38 add_definitions(-DMONGOOSE_USE_CALLBACKS=0) | 38 add_definitions(-DMONGOOSE_USE_CALLBACKS=0) |
39 set(MONGOOSE_PATCH ${CMAKE_CURRENT_LIST_DIR}/../Patches/mongoose-3.1-patch.diff) | 39 set(MONGOOSE_PATCH ${CMAKE_CURRENT_LIST_DIR}/../Patches/mongoose-3.1-patch.diff) |
40 | 40 |
41 else() | 41 else() |
42 # Use Mongoose 3.8 | 42 # Use Mongoose 3.8 |
43 DownloadPackage( | 43 DownloadPackage( |
44 "7e3296295072792cdc3c633f9404e0c3" | 44 "7e3296295072792cdc3c633f9404e0c3" |
45 "http://orthanc.osimis.io/ThirdPartyDownloads/mongoose-3.8.tgz" | 45 "https://orthanc.uclouvain.be/third-party-downloads/mongoose-3.8.tgz" |
46 "${MONGOOSE_SOURCES_DIR}") | 46 "${MONGOOSE_SOURCES_DIR}") |
47 | 47 |
48 add_definitions(-DMONGOOSE_USE_CALLBACKS=1) | 48 add_definitions(-DMONGOOSE_USE_CALLBACKS=1) |
49 set(MONGOOSE_PATCH ${CMAKE_CURRENT_LIST_DIR}/../Patches/mongoose-3.8-patch.diff) | 49 set(MONGOOSE_PATCH ${CMAKE_CURRENT_LIST_DIR}/../Patches/mongoose-3.8-patch.diff) |
50 endif() | 50 endif() |