File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -41,9 +41,11 @@ find_package(Protobuf CONFIG REQUIRED)
4141# "gRPC" must comes after "Protobuf" since it depends on "Protobuf"
4242find_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
You can’t perform that action at this time.
0 commit comments