Browse Source

travis: fix CMake + OSX build

Brew changed installation dir for Qt, and we have to change it in our
workaround symlinks too.
adaptive-webui-19844
Eugene Shalygin 8 years ago
parent
commit
97d52668cc
  1. 5
      .travis.yml

5
.travis.yml

@ -150,9 +150,8 @@ install:
if [ "$build_system" = "cmake" ]; then if [ "$build_system" = "cmake" ]; then
brew install qt5 ; brew install qt5 ;
brew link --force qt5 ; brew link --force qt5 ;
export HOMEBREW_QT5_VERSION=$(brew list --versions qt5 | rev | cut -d' ' -f1 | rev) ln -s /usr/local/opt/qt/mkspecs /usr/local/mkspecs
ln -s /usr/local/Cellar/qt5/$HOMEBREW_QT5_VERSION/mkspecs /usr/local/mkspecs ln -s /usr/local/opt/qt/plugins /usr/local/plugins
ln -s /usr/local/Cellar/qt5/$HOMEBREW_QT5_VERSION/plugins /usr/local/plugins
else else
# Qt # Qt
# Copy custom qt5 bottle to homebrew's cache so it can find and install it # Copy custom qt5 bottle to homebrew's cache so it can find and install it

Loading…
Cancel
Save