Link zopfli too

This commit is contained in:
Matteo Paonessa 2020-02-28 13:20:45 +01:00
parent 51185d7ac8
commit 08ea273a3a
2 changed files with 2 additions and 1 deletions

View File

@ -16,7 +16,7 @@ before_install:
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install nasm; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then alias nasm=/usr/local/bin/nasm; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get install libtool autoconf git nasm pkg-config cmake; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then apt-get install libtool autoconf git nasm pkg-config cmake; fi
- chmod +x install.sh
- ./install.sh

View File

@ -6,6 +6,7 @@ endif ()
find_library(jpeg jpeg ${MOZJPEG_PATH}/lib)
find_library(turbojpeg turbojpeg ${MOZJPEG_PATH}/lib)
find_library(zopfli zopfli ${ZOPFLI_PATH}/lib)
find_library(zopflipng zopflipng ${ZOPFLI_PATH}/lib)
add_library(caesium SHARED caesium.c error.c utils.c png.c vendor/lodepng.c jpeg.c)