Skip to content

Commit 92fc637

Browse files
committed
dependencies: fix abseil-cpp patch
1 parent e5d6918 commit 92fc637

1 file changed

Lines changed: 15 additions & 2 deletions

File tree

patches/abseil-cpp-20250814.1.patch

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,21 @@
11
diff --git a/CMake/AbseilHelpers.cmake b/CMake/AbseilHelpers.cmake
2-
index 624a3c7..8d0493d 100644
2+
index 624a3c7..dfe0680 100644
33
--- a/CMake/AbseilHelpers.cmake
44
+++ b/CMake/AbseilHelpers.cmake
5-
@@ -345,7 +345,7 @@ Cflags: -I\${includedir}${PC_CFLAGS}\n")
5+
@@ -326,7 +326,12 @@ Cflags: -I\${includedir}${PC_CFLAGS}\n")
6+
)
7+
8+
if (_build_type STREQUAL "dll")
9+
+ if (${_in_dll})
10+
set(ABSL_CC_LIB_DEPS abseil_dll)
11+
+ endif()
12+
+ if(${_in_test_dll})
13+
+ set(ABSL_CC_LIB_DEPS abseil_test_dll)
14+
+ endif()
15+
endif()
16+
17+
target_link_libraries(${_NAME}
18+
@@ -345,7 +350,7 @@ Cflags: -I\${includedir}${PC_CFLAGS}\n")
619
endif()
720
endif()
821

0 commit comments

Comments
 (0)