Skip to content

Commit 2f3a3a4

Browse files
committed
cmake: cleanup
1 parent ee96973 commit 2f3a3a4

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

cmake/dependencies/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ if(BUILD_ZLIB)
6565
ZLIB
6666
GIT_REPOSITORY "https://github.com/madler/ZLIB.git"
6767
GIT_TAG "v1.3.1"
68+
GIT_SHALLOW TRUE
6869
PATCH_COMMAND git apply --ignore-whitespace
6970
"${CMAKE_CURRENT_LIST_DIR}/../../patches/ZLIB-v1.3.1.patch")
7071
FetchContent_MakeAvailable(ZLIB)

cmake/docker/toolchain/Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ FROM ubuntu:latest AS env
55
# Install system build dependencies
66
ENV PATH=/usr/local/bin:$PATH
77
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 \
910
cmake ninja-build python3 python3-venv pkgconf libglib2.0-dev \
1011
&& apt-get clean \
1112
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

cmake/host.CMakeLists.txt

+4-2
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@ FetchContent_Declare(
108108
GIT_REPOSITORY "https://github.com/abseil/abseil-cpp.git"
109109
GIT_TAG "20250127.1"
110110
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"
112113
)
113114
FetchContent_MakeAvailable(absl)
114115
list(POP_BACK CMAKE_MESSAGE_INDENT)
@@ -127,7 +128,8 @@ FetchContent_Declare(
127128
GIT_TAG "v30.2"
128129
GIT_SHALLOW TRUE
129130
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"
131133
)
132134
FetchContent_MakeAvailable(protobuf)
133135
list(POP_BACK CMAKE_MESSAGE_INDENT)

0 commit comments

Comments
 (0)