summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@theqtcompany.com>2016-06-24 14:15:18 +0200
committerLars Knoll <lars.knoll@qt.io>2016-06-24 12:29:13 +0000
commitc80155043122d0202ca5f782572115209c7c22c7 (patch)
tree8f4486ebec7bb7b9dfc0095f486471867033ed63
parent921df719dc6f8e41f66775bcfb6091725cb59776 (diff)
Fix detection of LLVM version on macOS
Change-Id: I6b428ee0f89ed2b49f3698f2bf0cf53806ffdda9 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
-rw-r--r--configure.pri2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.pri b/configure.pri
index 9dd2f053ff..0a71fb3941 100644
--- a/configure.pri
+++ b/configure.pri
@@ -176,7 +176,7 @@ defineTest(qtConfTest_checkCompiler) {
contains(versionstr, "^Apple (clang|LLVM) version .*") {
$${1}.compilerDescription = "Apple Clang"
$${1}.compilerId = "apple_clang"
- $${1}.compilerVersion = $$replace(versionstr, "^Apple (clang|LLVM) version ([0-9.]+).*$", "\\1")
+ $${1}.compilerVersion = $$replace(versionstr, "^Apple (clang|LLVM) version ([0-9.]+).*$", "\\2")
} else: contains(versionstr, ".*clang version.*") {
$${1}.compilerDescription = "Clang"
$${1}.compilerId = "clang"