diff --git a/build/scripts/LLVM.lua b/build/scripts/LLVM.lua index 66fd7cff..7319e707 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+%.?%d* for (%w+)') + local ver, arch = string.match(out, '(%d+).%d+.%d+.?%d*%s+%w*%s+(%w+)') vsver = get_vs_version(ver) end