
Qualify reference with namespace. A pending upstream PR will eventually make this unnecessary, so the patch is only applied for 3.22. versions.
14 lines
501 B
Diff
14 lines
501 B
Diff
diff --git a/cmake/abseil-cpp.cmake b/cmake/abseil-cpp.cmake
|
|
index e7bfb2b15..61fcd678d 100644
|
|
--- a/cmake/abseil-cpp.cmake
|
|
+++ b/cmake/abseil-cpp.cmake
|
|
@@ -39,7 +39,7 @@ set(_protobuf_FIND_ABSL "if(NOT TARGET absl::strings)\n find_package(absl CONFI
|
|
|
|
if (BUILD_SHARED_LIBS AND MSVC)
|
|
# On MSVC Abseil is bundled into a single DLL.
|
|
- set(protobuf_ABSL_USED_TARGETS abseil_dll)
|
|
+ set(protobuf_ABSL_USED_TARGETS absl::abseil_dll)
|
|
|
|
set(protobuf_ABSL_USED_TEST_TARGETS abseil_test_dll)
|
|
else()
|