comparison Resources/CMake/GoogleLogConfiguration.cmake @ 658:e8e59e80868c

note about glog-0.3.3
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 04 Nov 2013 12:08:07 +0100
parents 5425bb6f1ea5
children f4f5ab513157 312d04beb0a2
comparison
equal deleted inserted replaced
657:5425bb6f1ea5 658:e8e59e80868c
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.3) 2 SET(GOOGLE_LOG_SOURCES_DIR ${CMAKE_BINARY_DIR}/glog-0.3.2)
3 DownloadPackage( 3 DownloadPackage(
4 "a6fd2c22f8996846e34c763422717c18" 4 "897fbff90d91ea2b6d6e78c8cea641cc"
5 "http://www.montefiore.ulg.ac.be/~jodogne/Orthanc/ThirdPartyDownloads/glog-0.3.3.tar.gz" 5 "http://www.montefiore.ulg.ac.be/~jodogne/Orthanc/ThirdPartyDownloads/glog-0.3.2.tar.gz"
6 "${GOOGLE_LOG_SOURCES_DIR}") 6 "${GOOGLE_LOG_SOURCES_DIR}")
7
8
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
11 # Debian Squeeze. We thus stick to Glog 0.3.2 for the time being.
12
13 #SET(GOOGLE_LOG_SOURCES_DIR ${CMAKE_BINARY_DIR}/glog-0.3.3)
14 #DownloadPackage(
15 # "a6fd2c22f8996846e34c763422717c18"
16 # "http://www.montefiore.ulg.ac.be/~jodogne/Orthanc/ThirdPartyDownloads/glog-0.3.3.tar.gz"
17 # "${GOOGLE_LOG_SOURCES_DIR}")
18
7 19
8 set(GOOGLE_LOG_HEADERS 20 set(GOOGLE_LOG_HEADERS
9 ${GOOGLE_LOG_SOURCES_DIR}/src/glog/logging.h 21 ${GOOGLE_LOG_SOURCES_DIR}/src/glog/logging.h
10 ${GOOGLE_LOG_SOURCES_DIR}/src/glog/raw_logging.h 22 ${GOOGLE_LOG_SOURCES_DIR}/src/glog/raw_logging.h
11 ${GOOGLE_LOG_SOURCES_DIR}/src/glog/stl_logging.h 23 ${GOOGLE_LOG_SOURCES_DIR}/src/glog/stl_logging.h