libraries/qwt: Check for Qt5Core.pc.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2020-02-16 21:28:19 +01:00 committed by Robby Workman
parent 7223fd2053
commit b6579b3235

View file

@ -41,7 +41,7 @@ else
fi
# If Qt5 is installed, assume we want to use it
QWT_QT5="no" ; pkg-config --exists Qt5 ; if [ "$?" = "0" ]; then QWT_QT5="yes" ; fi
QWT_QT5="no" ; pkg-config --exists Qt5Core ; if [ "$?" = "0" ]; then QWT_QT5="yes" ; fi
set -e