From 1f25e02d35ebbd52f1fa81671e94d86af9f2f828 Mon Sep 17 00:00:00 2001 From: Joao Matos Date: Wed, 10 Aug 2016 17:12:49 +0100 Subject: [PATCH] Match minor version when looking up VS version. Fixes AppVeyor build. --- build/scripts/LLVM.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/scripts/LLVM.lua b/build/scripts/LLVM.lua index 84db312e..51c2b237 100644 --- a/build/scripts/LLVM.lua +++ b/build/scripts/LLVM.lua @@ -62,7 +62,7 @@ function get_toolset_configuration_name() if not string.starts(vsver, "vs") then local out = outputof("cl") - local ver, arch = string.match(out, 'Version (%d+)%.%d+%.%d+ for (%w+)') + local ver, arch = string.match(out, 'Version (%d+)%.%d+%.%d+%.?%d* for (%w+)') vsver = get_vs_version(ver) end