Browse Source

Match minor version when looking up VS version.

Fixes AppVeyor build.
pull/696/head
Joao Matos 9 years ago
parent
commit
1f25e02d35
  1. 2
      build/scripts/LLVM.lua

2
build/scripts/LLVM.lua

@ -62,7 +62,7 @@ function get_toolset_configuration_name() @@ -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

Loading…
Cancel
Save