Mercurial > hg > orthanc
comparison Resources/CMake/GoogleLogConfiguration.cmake @ 1487:23083810d543
removal of unneeded static libraries
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 04 Aug 2015 10:45:58 +0200 |
parents | 728c22ade2e2 |
children | fbf763bb1fa3 |
comparison
equal
deleted
inserted
replaced
1486:f967bdf8534e | 1487:23083810d543 |
---|---|
153 # This is a patch for MinGW64 | 153 # This is a patch for MinGW64 |
154 add_definitions(-D_TIME_H__S=1) | 154 add_definitions(-D_TIME_H__S=1) |
155 endif() | 155 endif() |
156 endif() | 156 endif() |
157 | 157 |
158 add_library(GoogleLog STATIC ${GOOGLE_LOG_SOURCES}) | |
159 set(STATIC_GOOGLE_LOG GoogleLog) | |
160 | |
161 else() | 158 else() |
162 CHECK_INCLUDE_FILE_CXX(glog/logging.h HAVE_GOOGLE_LOG_H) | 159 CHECK_INCLUDE_FILE_CXX(glog/logging.h HAVE_GOOGLE_LOG_H) |
163 if (NOT HAVE_GOOGLE_LOG_H) | 160 if (NOT HAVE_GOOGLE_LOG_H) |
164 message(FATAL_ERROR "Please install the libgoogle-glog-dev package") | 161 message(FATAL_ERROR "Please install the libgoogle-glog-dev package") |
165 endif() | 162 endif() |
173 add_definitions(-DHAVE_SECURE_STRING_EXTENSIONS=1) | 170 add_definitions(-DHAVE_SECURE_STRING_EXTENSIONS=1) |
174 else() | 171 else() |
175 add_definitions(-DHAVE_SECURE_STRING_EXTENSIONS=0) | 172 add_definitions(-DHAVE_SECURE_STRING_EXTENSIONS=0) |
176 endif() | 173 endif() |
177 | 174 |
178 add_definitions(-DHAVE_GOOGLE_LOG=1) | 175 add_definitions(-DORTHANC_ENABLE_GOOGLE_LOG=1) |