comparison Resources/CMake/GoogleLogConfiguration.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 f25c79497739
children d28eab3994f9
comparison
equal deleted inserted replaced
2757:fef260693d4e 4251:6784a119484d
1 if (STATIC_BUILD OR NOT USE_SYSTEM_GOOGLE_LOG) 1 if (STATIC_BUILD OR NOT USE_SYSTEM_GOOGLE_LOG)
2 SET(GOOGLE_LOG_SOURCES_DIR ${CMAKE_BINARY_DIR}/glog-0.3.2) 2 SET(GOOGLE_LOG_SOURCES_DIR ${CMAKE_BINARY_DIR}/glog-0.3.2)
3 DownloadPackage( 3 DownloadPackage(
4 "897fbff90d91ea2b6d6e78c8cea641cc" 4 "897fbff90d91ea2b6d6e78c8cea641cc"
5 "http://www.montefiore.ulg.ac.be/~jodogne/Orthanc/ThirdPartyDownloads/glog-0.3.2.tar.gz" 5 "http://www.orthanc-server.com/downloads/third-party/glog-0.3.2.tar.gz"
6 "${GOOGLE_LOG_SOURCES_DIR}") 6 "${GOOGLE_LOG_SOURCES_DIR}")
7 7
8 8
9 # Glog 0.3.3 fails to build with old versions of MinGW, such as the 9 # Glog 0.3.3 fails to build with old versions of MinGW, such as the
10 # one installed on our Continuous Integration Server that runs 10 # one installed on our Continuous Integration Server that runs
11 # Debian Squeeze. We thus stick to Glog 0.3.2 for the time being. 11 # Debian Squeeze. We thus stick to Glog 0.3.2 for the time being.
12 12
13 #SET(GOOGLE_LOG_SOURCES_DIR ${CMAKE_BINARY_DIR}/glog-0.3.3) 13 #SET(GOOGLE_LOG_SOURCES_DIR ${CMAKE_BINARY_DIR}/glog-0.3.3)
14 #DownloadPackage( 14 #DownloadPackage(
15 # "a6fd2c22f8996846e34c763422717c18" 15 # "a6fd2c22f8996846e34c763422717c18"
16 # "http://www.montefiore.ulg.ac.be/~jodogne/Orthanc/ThirdPartyDownloads/glog-0.3.3.tar.gz" 16 # "http://www.orthanc-server.com/downloads/third-party/glog-0.3.3.tar.gz"
17 # "${GOOGLE_LOG_SOURCES_DIR}") 17 # "${GOOGLE_LOG_SOURCES_DIR}")
18 18
19 19
20 set(GOOGLE_LOG_HEADERS 20 set(GOOGLE_LOG_HEADERS
21 ${GOOGLE_LOG_SOURCES_DIR}/src/glog/logging.h 21 ${GOOGLE_LOG_SOURCES_DIR}/src/glog/logging.h