mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-27 20:58:47 +00:00
build-system: take Qt6 into account
We should find qmake - but in case there's only a qmake-qt6 binary, try to use that. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
59fe2f3d7e
commit
da3417123a
1 changed files with 2 additions and 1 deletions
|
@ -225,7 +225,8 @@ fi
|
|||
if [[ -z $QMAKE || ! -x $QMAKE ]] ; then
|
||||
hash qmake > /dev/null 2> /dev/null && QMAKE=qmake
|
||||
[ -z $QMAKE ] && hash qmake-qt5 > /dev/null 2> /dev/null && QMAKE=qmake-qt5
|
||||
[ -z $QMAKE ] && echo "cannot find qmake or qmake-qt5" && exit 1
|
||||
[ -z $QMAKE ] && hash qmake-qt6 > /dev/null 2> /dev/null && QMAKE=qmake-qt6
|
||||
[ -z $QMAKE ] && echo "cannot find qmake, qmake-qt5, or qmake-qt6" && exit 1
|
||||
fi
|
||||
|
||||
# it's not entirely clear why we only set this on macOS, but this appears to be what works
|
||||
|
|
Loading…
Reference in a new issue