build-system: macOS universal builds imply Qt6 builds

Qt5 doesn't support the m1.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2022-04-27 21:05:40 -07:00
parent efdc525a22
commit 51590853eb

View file

@ -80,7 +80,9 @@ while [[ $# -gt 0 ]] ; do
-fat-build)
# build a fat binary for macOS
# ignored on other platforms
# this implies a Qt6 build (as m1 isn't supported in Qt5)
ARCHS="arm64 x86_64"
BUILD_WITH_QT6="1"
;;
-build-prefix)
# instead of building in build & build-mobile in the current directory, build in <buildprefix>build