Skip to content

Instantly share code, notes, and snippets.

@c0nrad
Created May 14, 2020 22:09
Show Gist options
  • Save c0nrad/b8063376735fccc1870f702f029be64d to your computer and use it in GitHub Desktop.
Save c0nrad/b8063376735fccc1870f702f029be64d to your computer and use it in GitHub Desktop.
wget https://github.com/webmproject/libwebp/archive/v1.1.0.tar.gz -O /tmp/libwebp-v1.1.0.tar.gz
tar -C /tmp -zxvf /tmp/libwebp-v1.1.0.tar.gz
mkdir -p /tmp/libwebp-1.1.0/make
cd /tmp/libwebp-1.1.0 && \
cmake -DWEBP_ENABLE_SIMD=ON -DWEBP_BUILD_CWEBP=ON -DWEBP_BUILD_DWEBP=ON -DWEBP_BUILD_GIF2WEBP=ON -DWEBP_BUILD_IMG2WEBP=ON -DWEBP_BUILD_WEBPINFO=ON -DWEBP_NEAR_LOSSLESS=ON ../ \
make && make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment