Mercurial > hg > orthanc-gcp
comparison Resources/CMake/NlohmannJson.cmake @ 14:b388b9d81a1b
fix ThirdPartyDownloads paths
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 18 Jun 2019 16:29:03 +0200 |
parents | 520cba9a0d42 |
children | f9fe97e893c0 |
comparison
equal
deleted
inserted
replaced
13:b7fa5e51367c | 14:b388b9d81a1b |
---|---|
1 # curl -L https://raw.githubusercontent.com/nlohmann/json/v3.4.0/single_include/nlohmann/json.hpp | gzip -9 > nlohmann-json-3.4.0.gz | 1 # curl -L https://raw.githubusercontent.com/nlohmann/json/v3.4.0/single_include/nlohmann/json.hpp | gzip -9 > nlohmann-json-3.4.0.gz |
2 set(NLOHMANN_JSON_SOURCE ${CMAKE_BINARY_DIR}/nlohmann-json-3.4.0.hpp) | 2 set(NLOHMANN_JSON_SOURCE ${CMAKE_BINARY_DIR}/nlohmann-json-3.4.0.hpp) |
3 set(NLOHMANN_JSON_URL "http://orthanc.osimis.io/ThirdPartyDownloads/google/nlohmann-json-3.4.0.gz") | 3 set(NLOHMANN_JSON_URL "http://orthanc.osimis.io/ThirdPartyDownloads/dicom-web/nlohmann-json-3.4.0.gz") |
4 set(NLOHMANN_JSON_MD5 "f3346873ec78a0c90f1f05e4c2575412") | 4 set(NLOHMANN_JSON_MD5 "f3346873ec78a0c90f1f05e4c2575412") |
5 | 5 |
6 if (EXISTS "${NLOHMANN_JSON_SOURCE}") | 6 if (EXISTS "${NLOHMANN_JSON_SOURCE}") |
7 set(FirstRun OFF) | 7 set(FirstRun OFF) |
8 else() | 8 else() |