Skip to content

Commit 5280d65

Browse files
committed
Add patch for absl time CMakeLists
1 parent e529cf1 commit 5280d65

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
57,60d56
2+
< if(APPLE)
3+
< find_library(CoreFoundation CoreFoundation)
4+
< endif()
5+
<
6+
87c83
7+
< $<$<PLATFORM_ID:Darwin>:${CoreFoundation}>
8+
---
9+
> $<$<PLATFORM_ID:Darwin>:-Wl,-framework,CoreFoundation>

buildscripts/make_dependencies.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ else
3434
curl -Ls "https://github.com/google/protobuf/releases/download/v${PROTOBUF_VERSION}/protobuf-${PROTOBUF_VERSION}.tar.gz" | tar xz
3535
curl -Ls "https://github.com/abseil/abseil-cpp/archive/refs/tags/${ABSL_VERSION}.tar.gz" | tar xz
3636
rmdir "protobuf-$PROTOBUF_VERSION/third_party/abseil-cpp"
37+
patch abseil-cpp-$ABSL_VERSION/absl/time/CMakeLists.txt $BUILDSCRIPTS_DIR/absl_time_CMakeLists.patch
3738
mv "abseil-cpp-$ABSL_VERSION" "protobuf-$PROTOBUF_VERSION/third_party/abseil-cpp"
3839
fi
3940
# the same source dir is used for 32 and 64 bit builds, so we need to clean stale data first

0 commit comments

Comments
 (0)