Minor cleanup: IWYU, shoud_split() instead of ShouldSplit(...).
PiperOrigin-RevId: 604471605
diff --git a/cmake/abseil-cpp.cmake b/cmake/abseil-cpp.cmake
index a4e9d22..061d2db 100644
--- a/cmake/abseil-cpp.cmake
+++ b/cmake/abseil-cpp.cmake
@@ -39,12 +39,12 @@
if (BUILD_SHARED_LIBS AND MSVC)
# On MSVC Abseil is bundled into a single DLL.
- # This condition is necessary as of abseil 20230125.3 when abseil is consumed via add_subdirectory,
- # the abseil_dll target is named abseil_dll, while if abseil is consumed via find_package, the target
- # is called absl::abseil_dll
- # Once https://github.com/abseil/abseil-cpp/pull/1466 is merged and released in the minimum version of
- # abseil required by protobuf, it is possible to always link absl::abseil_dll and absl::abseil_test_dll
- # and remove the if
+ # This condition is necessary as of abseil 20230125.3 when abseil is consumed
+ # via add_subdirectory, the abseil_dll target is named abseil_dll, while if
+ # abseil is consumed via find_package, the target is called absl::abseil_dll
+ # Once https://github.com/abseil/abseil-cpp/pull/1466 is merged and released
+ # in the minimum version of abseil required by protobuf, it is possible to
+ # always link absl::abseil_dll and absl::abseil_test_dll and remove the if
if(protobuf_ABSL_PROVIDER STREQUAL "package")
set(protobuf_ABSL_USED_TARGETS absl::abseil_dll)
set(protobuf_ABSL_USED_TEST_TARGETS absl::abseil_test_dll)
@@ -75,6 +75,7 @@
absl::if_constexpr
absl::layout
absl::log_initialize
+ absl::log_globals
absl::log_severity
absl::memory
absl::node_hash_map