mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-10-22 10:46:04 +03:00
travis: fix CMake + OSX build
Brew changed installation dir for Qt, and we have to change it in our workaround symlinks too.
This commit is contained in:
parent
c32cee8098
commit
97d52668cc
1 changed files with 2 additions and 3 deletions
|
@ -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…
Reference in a new issue