diff --git a/ci-scripts/osx/travis-build.sh b/ci-scripts/osx/travis-build.sh index 0e8d28fa..d5277b97 100644 --- a/ci-scripts/osx/travis-build.sh +++ b/ci-scripts/osx/travis-build.sh @@ -3,8 +3,10 @@ pushd thirdparty/tiff-4.0.3 ./configure && make popd cd toonz && mkdir build && cd build +QTVERSION=`ls /usr/local/Cellar/qt` +echo "QT Version detected: $QTVERSION" cmake ../sources \ - -DQT_PATH=/usr/local/Cellar/qt/5.12.2/lib/ \ + -DQT_PATH=/usr/local/Cellar/qt/$QTVERSION/lib/ \ -DTIFF_INCLUDE_DIR=../../thirdparty/tiff-4.0.3/libtiff/ \ -DSUPERLU_INCLUDE_DIR=../../thirdparty/superlu/SuperLU_4.1/include/ make -j 2