Skip to content

Commit

Permalink
Improve commands for Build everything from scratch
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
wantehchang committed Jan 19, 2024
1 parent 8116ba4 commit 6e45bc7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down

0 comments on commit 6e45bc7

Please sign in to comment.