mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-01 00:23:23 +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
|
||||
QMAKE=$CMAKE_PREFIX_PATH/../../bin/qmake
|
||||
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
|
||||
|
||||
# on Debian and Ubuntu based systems, the private QtLocation and
|
||||
|
|
Loading…
Add table
Reference in a new issue