Force Homebrew to use Qt 5.5

Instead of defaulting to Qt 5.6+ per #2862
This commit is contained in:
tresf
2016-06-21 21:29:33 -04:00
parent 46179f475d
commit 092f1c69c5
2 changed files with 2 additions and 2 deletions

View File

@@ -3,7 +3,7 @@
PACKAGES="cmake pkgconfig fftw libogg libvorbis libsndfile libsamplerate jack sdl stk fluid-synth portaudio node"
if [ $QT5 ]; then
PACKAGES="$PACKAGES qt5"
PACKAGES="$PACKAGES qt55"
else
PACKAGES="$PACKAGES qt"
fi

View File

@@ -2,7 +2,7 @@
if [ $QT5 ]; then
# Workaround; No FindQt5.cmake module exists
export CMAKE_PREFIX_PATH="$(brew --prefix qt5)"
export CMAKE_PREFIX_PATH="$(brew --prefix qt55)"
fi
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DWANT_QT5=$QT5 -DUSE_WERROR=OFF ..