Mercurial > hg > orthanc
comparison Resources/CMake/GoogleLogConfiguration.cmake @ 873:fc34356283e1
integration jpeg -> mainline
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 11 Jun 2014 09:18:07 +0200 |
parents | f4f5ab513157 |
children | 816dccaeb7cf |
comparison
equal
deleted
inserted
replaced
869:d256f69e6391 | 873:fc34356283e1 |
---|---|
128 | 128 |
129 if (${CMAKE_COMPILER_IS_GNUCXX}) | 129 if (${CMAKE_COMPILER_IS_GNUCXX}) |
130 # This is a patch for MinGW64 | 130 # This is a patch for MinGW64 |
131 add_definitions(-D_TIME_H__S=1) | 131 add_definitions(-D_TIME_H__S=1) |
132 endif() | 132 endif() |
133 | |
134 endif() | 133 endif() |
135 | |
136 | |
137 | 134 |
138 add_library(GoogleLog STATIC ${GOOGLE_LOG_SOURCES}) | 135 add_library(GoogleLog STATIC ${GOOGLE_LOG_SOURCES}) |
139 link_libraries(GoogleLog) | 136 set(STATIC_GOOGLE_LOG GoogleLog) |
140 | 137 |
141 else() | 138 else() |
142 CHECK_INCLUDE_FILE_CXX(glog/logging.h HAVE_GOOGLE_LOG_H) | 139 CHECK_INCLUDE_FILE_CXX(glog/logging.h HAVE_GOOGLE_LOG_H) |
143 if (NOT HAVE_GOOGLE_LOG_H) | 140 if (NOT HAVE_GOOGLE_LOG_H) |
144 message(FATAL_ERROR "Please install the libgoogle-glog-dev package") | 141 message(FATAL_ERROR "Please install the libgoogle-glog-dev package") |