Mercurial > hg > orthanc
comparison OrthancFramework/Resources/CMake/CivetwebConfiguration.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 |
---|---|
25 ## "civetweb-1.14/test/nonlatin" that cannot be removed by "hg purge | 25 ## "civetweb-1.14/test/nonlatin" that cannot be removed by "hg purge |
26 ## --all" on Windows hosts. We thus created a custom | 26 ## --all" on Windows hosts. We thus created a custom |
27 ## "civetweb-1.14-fixed.tar.gz" as follows: | 27 ## "civetweb-1.14-fixed.tar.gz" as follows: |
28 ## | 28 ## |
29 ## $ cd /tmp | 29 ## $ cd /tmp |
30 ## $ wget http://orthanc.osimis.io/ThirdPartyDownloads/civetweb-1.14.tar.gz | 30 ## $ wget https://orthanc.uclouvain.be/third-party-downloads/civetweb-1.14.tar.gz |
31 ## $ tar xvf civetweb-1.14.tar.gz | 31 ## $ tar xvf civetweb-1.14.tar.gz |
32 ## $ rm -rf civetweb-1.14/src/third_party/ civetweb-1.14/test/ | 32 ## $ rm -rf civetweb-1.14/src/third_party/ civetweb-1.14/test/ |
33 ## $ tar cvfz civetweb-1.14-fixed.tar.gz civetweb-1.14 | 33 ## $ tar cvfz civetweb-1.14-fixed.tar.gz civetweb-1.14 |
34 ## | 34 ## |
35 | 35 |
36 set(CIVETWEB_SOURCES_DIR ${CMAKE_BINARY_DIR}/civetweb-1.14) | 36 set(CIVETWEB_SOURCES_DIR ${CMAKE_BINARY_DIR}/civetweb-1.14) |
37 set(CIVETWEB_URL "http://orthanc.osimis.io/ThirdPartyDownloads/civetweb-1.14-fixed.tar.gz") | 37 set(CIVETWEB_URL "https://orthanc.uclouvain.be/third-party-downloads/civetweb-1.14-fixed.tar.gz") |
38 set(CIVETWEB_MD5 "1f25d516b7a4e65d8b270d1cc399e0a9") | 38 set(CIVETWEB_MD5 "1f25d516b7a4e65d8b270d1cc399e0a9") |
39 | 39 |
40 if (IS_DIRECTORY "${CIVETWEB_SOURCES_DIR}") | 40 if (IS_DIRECTORY "${CIVETWEB_SOURCES_DIR}") |
41 set(FirstRun OFF) | 41 set(FirstRun OFF) |
42 else() | 42 else() |