File tree 3 files changed +7
-3
lines changed
3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ if(BUILD_ZLIB)
65
65
ZLIB
66
66
GIT_REPOSITORY "https://github.com/madler/ZLIB.git"
67
67
GIT_TAG "v1.3.1"
68
+ GIT_SHALLOW TRUE
68
69
PATCH_COMMAND git apply --ignore -whitespace
69
70
"${CMAKE_CURRENT_LIST_DIR} /../../patches/ZLIB-v1.3.1.patch" )
70
71
FetchContent_MakeAvailable(ZLIB)
Original file line number Diff line number Diff line change @@ -5,7 +5,8 @@ FROM ubuntu:latest AS env
5
5
# Install system build dependencies
6
6
ENV PATH=/usr/local/bin:$PATH
7
7
RUN apt-get update -qq \
8
- && DEBIAN_FRONTEND=noninteractive apt-get install -yq git wget libssl-dev build-essential \
8
+ && DEBIAN_FRONTEND=noninteractive apt-get install -yq \
9
+ git wget libssl-dev build-essential \
9
10
cmake ninja-build python3 python3-venv pkgconf libglib2.0-dev \
10
11
&& apt-get clean \
11
12
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
Original file line number Diff line number Diff line change @@ -108,7 +108,8 @@ FetchContent_Declare(
108
108
GIT_REPOSITORY "https://github.com/abseil/abseil-cpp.git"
109
109
GIT_TAG "20250127.1"
110
110
GIT_SHALLOW TRUE
111
- PATCH_COMMAND git apply --ignore-whitespace "${CMAKE_CURRENT_LIST_DIR}/@PATCHES_PATH@/abseil-cpp-20250127.1.patch"
111
+ PATCH_COMMAND git apply --ignore-whitespace
112
+ "${CMAKE_CURRENT_LIST_DIR}/@PATCHES_PATH@/abseil-cpp-20250127.1.patch"
112
113
)
113
114
FetchContent_MakeAvailable(absl)
114
115
list(POP_BACK CMAKE_MESSAGE_INDENT)
@@ -127,7 +128,8 @@ FetchContent_Declare(
127
128
GIT_TAG "v30.2"
128
129
GIT_SHALLOW TRUE
129
130
GIT_SUBMODULES ""
130
- PATCH_COMMAND git apply --ignore-whitespace "${CMAKE_CURRENT_LIST_DIR}/@PATCHES_PATH@/protobuf-v30.2.patch"
131
+ PATCH_COMMAND git apply --ignore-whitespace
132
+ "${CMAKE_CURRENT_LIST_DIR}/@PATCHES_PATH@/protobuf-v30.2.patch"
131
133
)
132
134
FetchContent_MakeAvailable(protobuf)
133
135
list(POP_BACK CMAKE_MESSAGE_INDENT)
You can’t perform that action at this time.
0 commit comments