Skip to content

Commit 2f6cd7f

Browse files
committed
update
1 parent d429f87 commit 2f6cd7f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

CMakeLists.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,11 @@ find_package(Protobuf CONFIG REQUIRED)
4141
# "gRPC" must comes after "Protobuf" since it depends on "Protobuf"
4242
find_package(gRPC CONFIG REQUIRED)
4343

44-
# Some packages are imported via "find_package" command. If we include them locally
45-
# (e.g. via FetchContent) instead, we will violate the "one definition rule" (ODR)
46-
# and cause linking errors.
44+
# Find "absl" and "re2" from system wide installation.
45+
#
46+
# We cannot use our local installation of these packages since "gRPC" brings its own
47+
# version of these packages. If we include them locally (e.g. via FetchContent),
48+
# ODR ("one definition rule" violation) will be violated and cause linking errors.
4749
#
4850
# Some explanations about ODR:
4951
# - https://github.com/abseil/abseil-cpp/blob/master/FAQ.md#what-is-abi-and-why-dont-you-recommend-using-a-pre-compiled-version-of-abseil

0 commit comments

Comments
 (0)