-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
watchman: add patch for glog ≥ 0.7.0
- Loading branch information
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index dd6eec3320..ee74ab0008 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -333,7 +333,7 @@ | ||
find_package(Gflags REQUIRED) | ||
include_directories(SYSTEM ${GFLAGS_INCLUDE_DIR}) | ||
|
||
-find_package(Glog REQUIRED) | ||
+find_package(Glog CONFIG REQUIRED) | ||
add_compile_definitions(GLOG_NO_ABBREVIATED_SEVERITIES) | ||
|
||
# We indirectly depend on boost. This logic needs to match | ||
@@ -479,7 +479,6 @@ | ||
) | ||
target_include_directories(third_party_deps INTERFACE | ||
${FOLLY_INCLUDE_DIR} | ||
- ${GLOG_INCLUDE_DIR} | ||
${GFLAGS_INCLUDE_DIR} | ||
${Boost_INCLUDE_DIRS} | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters