We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99c67d9 commit 56035a0Copy full SHA for 56035a0
1 file changed
CMakeLists.txt
@@ -313,7 +313,7 @@ endif()
313
endif()
314
315
# Only Protobuf >= 6 needs Abseil
316
-#if (Protobuf_VERSION VERSION_GREATER_EQUAL 6.0)
+if (Protobuf_VERSION VERSION_GREATER_EQUAL 6.0)
317
# Some distros export as "Abseil::"
318
find_package(absl CONFIG QUIET)
319
if (NOT absl_FOUND)
@@ -340,9 +340,9 @@ endif()
340
"Install Abseil (macOS: 'brew install abseil', Ubuntu: 'sudo apt-get install libabsl-dev'), "
341
"or use Protobuf < 6.")
342
343
-#else()
344
-# message(STATUS "Protobuf < 6 detected; skipping Abseil linking.")
345
-#endif()
+else()
+ message(STATUS "Protobuf < 6 detected; skipping Abseil linking.")
+endif()
346
347
# On Linux, it needs to link OpenSSL
348
if(UNIX AND NOT APPLE)
0 commit comments