tahoma2d/ci-scripts/osx/travis-build.sh

14 lines
495 B
Bash
Raw Normal View History

2016-07-01 23:23:32 +12:00
#!/bin/bash
pushd thirdparty/tiff-4.0.3
2019-10-14 08:27:56 +13:00
./configure --disable-lzma && make
2016-07-01 23:23:32 +12:00
popd
cd toonz && mkdir build && cd build
QTVERSION=`ls /usr/local/Cellar/qt`
echo "QT Version detected: $QTVERSION"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/jpeg-turbo/lib/pkgconfig"
2016-07-01 23:23:32 +12:00
cmake ../sources \
-DQT_PATH=/usr/local/Cellar/qt/$QTVERSION/lib/ \
2016-07-01 23:23:32 +12:00
-DTIFF_INCLUDE_DIR=../../thirdparty/tiff-4.0.3/libtiff/ \
-DSUPERLU_INCLUDE_DIR=../../thirdparty/superlu/SuperLU_4.1/include/
make -j 2