Mercurial > hg > orthanc
changeset 3807:2f28c7eb2776
fix civetweb 1.12 archive
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 02 Apr 2020 18:08:08 +0200 |
parents | b100555c4d6a |
children | 7f083dfae62b |
files | Resources/CMake/CivetwebConfiguration.cmake |
diffstat | 1 files changed, 15 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Resources/CMake/CivetwebConfiguration.cmake Thu Apr 02 17:08:43 2020 +0200 +++ b/Resources/CMake/CivetwebConfiguration.cmake Thu Apr 02 18:08:08 2020 +0200 @@ -1,7 +1,20 @@ if (STATIC_BUILD OR NOT USE_SYSTEM_CIVETWEB) + + ## WARNING: "civetweb-1.12.tar.gz" comes with a subfolder + ## "civetweb-1.12/test/nonlatin" that cannot be removed by "hg purge + ## --all" on Windows hosts. We thus created a custom + ## "civetweb-1.12-fixed.tar.gz" as follows: + ## + ## $ cd /tmp + ## $ wget http://orthanc.osimis.io/ThirdPartyDownloads/civetweb-1.12.tar.gz + ## $ tar xvf civetweb-1.12.tar.gz + ## $ rm -rf civetweb-1.12/src/third_party/ civetweb-1.12/test/ + ## $ tar cvfz civetweb-1.12-fixed.tar.gz civetweb-1.12 + ## + set(CIVETWEB_SOURCES_DIR ${CMAKE_BINARY_DIR}/civetweb-1.12) - set(CIVETWEB_URL "http://orthanc.osimis.io/ThirdPartyDownloads/civetweb-1.12.zip") - set(CIVETWEB_MD5 "3833925fe5e7580d03220274be0a5ddb") + set(CIVETWEB_URL "http://orthanc.osimis.io/ThirdPartyDownloads/civetweb-1.12-fixed.tar.gz") + set(CIVETWEB_MD5 "016ed7cd26cbc46b5941f0cbfb2e4ac8") if (IS_DIRECTORY "${CIVETWEB_SOURCES_DIR}") set(FirstRun OFF)