mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
On Fedora, qmake is qmake-qt5
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
2d405a1ebb
commit
c465ec586c
1 changed files with 3 additions and 1 deletions
|
@ -136,7 +136,9 @@ echo Building in $SRC, installing in $INSTALL_ROOT
|
||||||
if [ ! -z $CMAKE_PREFIX_PATH ] ; then
|
if [ ! -z $CMAKE_PREFIX_PATH ] ; then
|
||||||
QMAKE=$CMAKE_PREFIX_PATH/../../bin/qmake
|
QMAKE=$CMAKE_PREFIX_PATH/../../bin/qmake
|
||||||
else
|
else
|
||||||
QMAKE=qmake
|
hash qmake > /dev/null && QMAKE=qmake
|
||||||
|
[ -z $QMAKE ] && hash qmake-qt5 > /dev/null && QMAKE=qmake-qt5
|
||||||
|
[ -z $QMAKE ] && echo "cannot find qmake" && exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# on Debian and Ubuntu based systems, the private QtLocation and
|
# on Debian and Ubuntu based systems, the private QtLocation and
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue