From 6e45bc71976b64a78e0a135b67ba082bdd933f10 Mon Sep 17 00:00:00 2001 From: Wan-Teh Chang Date: Fri, 12 Jan 2024 17:02:09 -0800 Subject: [PATCH] Improve commands for Build everything from scratch Add libsharpyuv. Also use the old AVIF_LOCAL_AOM, AVIF_LOCAL_LIBYUV, and AVIF_LOCAL_LIBSHARPYUV cmake variables because libavif v1.0.3 doesn't support the new -DAVIF_CODEC_AOM=LOCAL method. --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4c997602e3..7b2cd152e3 100644 --- a/README.md +++ b/README.md @@ -95,10 +95,11 @@ git clone -b v1.0.3 https://github.com/AOMediaCodec/libavif.git cd libavif/ext ./aom.cmd ./libyuv.cmd +./libsharpyuv.cmd ./libjpeg.cmd ./zlibpng.cmd cd .. -cmake -S . -B build -DBUILD_SHARED_LIBS=OFF -DAVIF_CODEC_AOM=LOCAL -DAVIF_LIBYUV=LOCAL -DAVIF_LOCAL_JPEG=ON -DAVIF_LOCAL_ZLIBPNG=ON -DAVIF_BUILD_APPS=ON +cmake -S . -B build -DBUILD_SHARED_LIBS=OFF -DAVIF_CODEC_AOM=ON -DAVIF_LOCAL_AOM=ON -DAVIF_LOCAL_LIBYUV=ON -DAVIF_LOCAL_LIBSHARPYUV=ON -DAVIF_LOCAL_JPEG=ON -DAVIF_LOCAL_ZLIBPNG=ON -DAVIF_BUILD_APPS=ON cmake --build build --parallel ```