Skip to content

Commit

Permalink
Fix detection of LLVM version on macOS
Browse files Browse the repository at this point in the history
Change-Id: I6b428ee0f89ed2b49f3698f2bf0cf53806ffdda9
Reviewed-by: Oswald Buddenhagen <[email protected]>
  • Loading branch information
laknoll committed Jun 24, 2016
1 parent 921df71 commit c801550
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.pri
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit c801550

Please sign in to comment.