File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -313,7 +313,7 @@ endif()
313313endif ()
314314
315315# Only Protobuf >= 6 needs Abseil
316- # if (Protobuf_VERSION VERSION_GREATER_EQUAL 6.0)
316+ if (Protobuf_VERSION VERSION_GREATER_EQUAL 6.0)
317317 # Some distros export as "Abseil::"
318318 find_package (absl CONFIG QUIET )
319319 if (NOT absl_FOUND)
@@ -340,9 +340,9 @@ endif()
340340 "Install Abseil (macOS: 'brew install abseil', Ubuntu: 'sudo apt-get install libabsl-dev'), "
341341 "or use Protobuf < 6." )
342342 endif ()
343- # else()
344- # message(STATUS "Protobuf < 6 detected; skipping Abseil linking.")
345- # endif()
343+ else ()
344+ message (STATUS "Protobuf < 6 detected; skipping Abseil linking." )
345+ endif ()
346346
347347# On Linux, it needs to link OpenSSL
348348if (UNIX AND NOT APPLE )
You can’t perform that action at this time.
0 commit comments