Mercurial > hg > orthanc
comparison Resources/CMake/JsonCppConfiguration.cmake @ 4251:6784a119484d Orthanc-0.8.6
hotpatch to make Orthanc 0.8.6 compile on Ubuntu 16.04
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 15 Oct 2020 13:56:50 +0200 |
parents | ee0d5abf7958 |
children |
comparison
equal
deleted
inserted
replaced
2757:fef260693d4e | 4251:6784a119484d |
---|---|
1 if (STATIC_BUILD OR NOT USE_SYSTEM_JSONCPP) | 1 if (STATIC_BUILD OR NOT USE_SYSTEM_JSONCPP) |
2 set(JSONCPP_SOURCES_DIR ${CMAKE_BINARY_DIR}/jsoncpp-src-0.6.0-rc2) | 2 set(JSONCPP_SOURCES_DIR ${CMAKE_BINARY_DIR}/jsoncpp-src-0.6.0-rc2) |
3 DownloadPackage( | 3 DownloadPackage( |
4 "363e2f4cbd3aeb63bf4e571f377400fb" | 4 "363e2f4cbd3aeb63bf4e571f377400fb" |
5 "http://www.montefiore.ulg.ac.be/~jodogne/Orthanc/ThirdPartyDownloads/jsoncpp-src-0.6.0-rc2.tar.gz" | 5 "http://www.orthanc-server.com/downloads/third-party/jsoncpp-src-0.6.0-rc2.tar.gz" |
6 "${JSONCPP_SOURCES_DIR}") | 6 "${JSONCPP_SOURCES_DIR}") |
7 | 7 |
8 list(APPEND THIRD_PARTY_SOURCES | 8 list(APPEND THIRD_PARTY_SOURCES |
9 ${JSONCPP_SOURCES_DIR}/src/lib_json/json_reader.cpp | 9 ${JSONCPP_SOURCES_DIR}/src/lib_json/json_reader.cpp |
10 ${JSONCPP_SOURCES_DIR}/src/lib_json/json_value.cpp | 10 ${JSONCPP_SOURCES_DIR}/src/lib_json/json_value.cpp |