From c80155043122d0202ca5f782572115209c7c22c7 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Fri, 24 Jun 2016 14:15:18 +0200 Subject: Fix detection of LLVM version on macOS Change-Id: I6b428ee0f89ed2b49f3698f2bf0cf53806ffdda9 Reviewed-by: Oswald Buddenhagen --- configure.pri | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.pri') 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" -- cgit v1.2.3