vcpkg/ports/theia/fix-glog-error.patch

13 lines
372 B
Diff
Raw Normal View History

2017-06-30 23:44:23 +08:00
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9c1b150..6518e6a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -146,6 +146,7 @@ else (GLOG_FOUND)
message(FATAL_ERROR "Can't find Google Logging. Please set GLOG_INCLUDE_DIR & "
"GLOG_LIBRARY")
endif (GLOG_FOUND)
+add_definitions(-DGLOG_NO_ABBREVIATED_SEVERITIES)
# Ceres
message("-- Check for Ceres")