fix protobuf for cartographer & fix protobuf (#3667)
* fix protobuf for cartographer & fix protobuf version:le 3.19.4
* protobuf-cpp: readd 26.1
* try to fix abseil linking
* Revert "try to fix abseil linking"
This reverts commit 03c8ed4215
.
* protobuf-cpp: use shared abseil
* protobuf-cpp: fix adding shared abseil
* protobuf-cpp: set abseil shared to true
* protobuf-cpp: shared abseil if windows
* protobuf-cpp: use default config for abseil
* protobuf-cpp: add abseil if above greater or equal to 22.0
* protobuf-cpp: add patch to always use links
* abseil: test with cxx 17
* protobuf-cpp: rename patch
* abseil: try use C++14
* abseil: add cxx_standard config & protobuf-cpp: select C++17 if linux
pull/3706/head
parent
e5f5a74d17
commit
d8fc0686b5
5 changed files with 38 additions and 9 deletions
@ -0,0 +1,13 @@ |
|||||||
|
diff --git a/cmake/abseil-cpp.cmake b/cmake/abseil-cpp.cmake
|
||||||
|
index a4e9d22..5e5d4d5 100644
|
||||||
|
--- a/cmake/abseil-cpp.cmake
|
||||||
|
+++ b/cmake/abseil-cpp.cmake
|
||||||
|
@@ -37,7 +37,7 @@ elseif(protobuf_ABSL_PROVIDER STREQUAL "package")
|
||||||
|
endif()
|
||||||
|
set(_protobuf_FIND_ABSL "if(NOT TARGET absl::strings)\n find_package(absl CONFIG)\nendif()")
|
||||||
|
|
||||||
|
-if (BUILD_SHARED_LIBS AND MSVC)
|
||||||
|
+if (FALSE)
|
||||||
|
# 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
|
Loading…
Reference in new issue