diff options
| author | ruki <[email protected]> | 2023-06-22 23:33:19 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-06-22 23:33:19 +0800 |
| commit | 1a9b893647afafd644bd69eef27e94deb05b635f (patch) | |
| tree | 8cbec58a60a75c5455770aa00cd35b3d485b6e80 | |
| parent | 6455fc0480a85b7152653f1559f41f7f19629f6c (diff) | |
Update msbuild.lua
| -rw-r--r-- | xmake/modules/package/tools/msbuild.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/package/tools/msbuild.lua b/xmake/modules/package/tools/msbuild.lua index 0bad32307..21fd2e693 100644 --- a/xmake/modules/package/tools/msbuild.lua +++ b/xmake/modules/package/tools/msbuild.lua @@ -92,9 +92,9 @@ function build(package, configs, opt) -- upgrade vs solution file? -- @see https://github.com/xmake-io/xmake/issues/3871 if opt.upgrade then - local msvc_str = _get_msvc(package) + local msvc = _get_msvc(package) for _, value in ipairs(opt.upgrade) do - upgrade_vsproj.upgrade(value, table.join(opt, {msvc = msvc_str})) + upgrade_vsproj.upgrade(value, table.join(opt, {msvc = msvc})) end end |
