mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
Add Qt 5.7 and 5.8 for Darwin in build script
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
86a98867f1
commit
5f9ca5f2ec
1 changed files with 6 additions and 2 deletions
|
@ -174,10 +174,14 @@ if [ $BUILDMARBLE = 1 ]; then
|
|||
mkdir -p build
|
||||
cd build
|
||||
if [ $PLATFORM = Darwin ] ; then
|
||||
if [ -d "$HOME/Qt/5.5" ] ; then
|
||||
export CMAKE_PREFIX_PATH=~/Qt/5.5/clang_64/lib/cmake
|
||||
if [ -d "$HOME/Qt/5.8" ] ; then
|
||||
export CMAKE_PREFIX_PATH=~/Qt/5.8/clang_64/lib/cmake
|
||||
elif [ -d "$HOME/Qt/5.7" ] ; then
|
||||
export CMAKE_PREFIX_PATH=~/Qt/5.7/clang_64/lib/cmake
|
||||
elif [ -d "$HOME/Qt/5.6" ] ; then
|
||||
export CMAKE_PREFIX_PATH=~/Qt/5.6/clang_64/lib/cmake
|
||||
elif [ -d "$HOME/Qt/5.5" ] ; then
|
||||
export CMAKE_PREFIX_PATH=~/Qt/5.5/clang_64/lib/cmake
|
||||
elif [ -d /usr/local/opt/qt5/lib ] ; then
|
||||
# Homebrew location for qt5 package
|
||||
export CMAKE_PREFIX_PATH=/usr/local/opt/qt5/lib/cmake
|
||||
|
|
Loading…
Reference in a new issue