Skip to content

Commit fe96888

Browse files
committed
Using CMake from the system
1 parent eea133b commit fe96888

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

scripts/export-host-variables.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export HOST_TAG=$HOST_TAG
2626
export HOST_NPROC=$HOST_NPROC
2727

2828
# Using CMake from the Android SDK
29-
export CMAKE_EXECUTABLE=${ANDROID_SDK_HOME}/cmake/3.22.1/bin/cmake
29+
export CMAKE_EXECUTABLE=$(which cmake)
3030
# Using Make from the Android SDK
3131
export MAKE_EXECUTABLE=${ANDROID_NDK_HOME}/prebuilt/${HOST_TAG}/bin/make
3232
# Using Build machine's Ninja. It is used for libdav1d building. Needs to be installed

tools/docker/Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ FROM --platform=linux/amd64 ubuntu:22.04
44
# Versions of Android SDK and NDK. The CMake is installed via NDK.
55
ARG VERSION_SDK=11076708
66
ARG VERSION_NDK=27.1.12297006
7-
ARG VERSION_CMAKE=3.22.1
7+
ARG VERSION_CMAKE=3.30.4
88

99
# Package to install via pip3
1010
ARG VERSION_MESON=1.5.2
@@ -28,6 +28,7 @@ RUN apt-get --allow-releaseinfo-change update && apt-get install -y --no-install
2828
openjdk-17-jdk-headless \
2929
curl \
3030
unzip \
31+
cmake \
3132
bash \
3233
nasm \
3334
pkg-config \

0 commit comments

Comments
 (0)