summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2021-12-16 11:49:49 +0100
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2021-12-16 12:05:58 +0100
commit3387ca53e550c1a63ed32ddf4f1dc48e61e9fa62 (patch)
tree49e5397e8b76b754127568cdb5292eb847e1ace2
parent1c9785bf7eee038f6f0b8e2d73dcb9588f6d60c1 (diff)
Don't unconditionally log that Apple Silicon is not supported
Amends 76bd5331d38b4dcbc09c1f22bde52772d43cc7f2. Change-Id: I67947f433f32c2be19dad553bfed03d159a865ff Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
-rw-r--r--configure.pri4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.pri b/configure.pri
index a7a743144..8705ad93f 100644
--- a/configure.pri
+++ b/configure.pri
@@ -140,9 +140,9 @@ defineTest(qtConfTest_detectPlatform) {
}
defineTest(qtConfTest_detectArch) {
- macos {
+ macos:contains(QT_ARCHS, "arm64") {
qtLog("Apple Silicon not supported yet.")
- contains(QT_ARCHS, "arm64"): return(false)
+ return(false)
}
contains(QT_ARCH, "i386")|contains(QT_ARCH, "x86_64"): return(true)
contains(QT_ARCH, "arm")|contains(QT_ARCH, "arm64"): return(true)