summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2023-07-13 22:58:38 +0800
committerruki <[email protected]>2023-07-13 22:58:38 +0800
commit6b958b3d64fe5d0962304f238d73668661b5898a (patch)
tree7f0f78a50895260a39c4ec40c525a43bc8807257
parent4afd62040dff41f379c1256561394a5e5dca957a (diff)
format code
-rw-r--r--xmake/modules/private/utils/upgrade_vsproj.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/utils/upgrade_vsproj.lua b/xmake/modules/private/utils/upgrade_vsproj.lua
index d813732e6..d70bf4e02 100644
--- a/xmake/modules/private/utils/upgrade_vsproj.lua
+++ b/xmake/modules/private/utils/upgrade_vsproj.lua
@@ -67,7 +67,7 @@ function _upgrade_vcxproj(projectfile, opt)
"<PlatformToolset>" .. vs_toolset .. "</PlatformToolset>")
io.gsub(projectfile, "<WindowsTargetPlatformVersion>.*</WindowsTargetPlatformVersion>",
"<WindowsTargetPlatformVersion>" .. vs_sdkver .. "</WindowsTargetPlatformVersion>")
- if vs_toolsver then
+ if vs_toolsver then
io.gsub(projectfile, "ToolsVersion=\".-\"", "ToolsVersion=\"" .. vs_toolsver .. "\"")
end
end