diff options
| author | 白喵 <[email protected]> | 2024-07-25 16:47:17 +0800 |
|---|---|---|
| committer | 白喵 <[email protected]> | 2024-07-25 16:47:17 +0800 |
| commit | fb38aef96ba744788c5dffdee38a4f818ba9e945 (patch) | |
| tree | 6d938de66f0311938db01a4f0ca1fe6263fb3ea7 /xmake/modules/package/tools/msbuild.lua | |
| parent | a066a32e9c668967fb11486e77f92b11c1a22f5d (diff) | |
update policy
Diffstat (limited to 'xmake/modules/package/tools/msbuild.lua')
| -rw-r--r-- | xmake/modules/package/tools/msbuild.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/package/tools/msbuild.lua b/xmake/modules/package/tools/msbuild.lua index 3ab9e76a2..c46e76479 100644 --- a/xmake/modules/package/tools/msbuild.lua +++ b/xmake/modules/package/tools/msbuild.lua @@ -65,7 +65,7 @@ function _get_configs(package, configs, opt) if not configs_str:find("p:Platform=", 1, true) then table.insert(configs, "-p:Platform=" .. _get_vsarch(package)) end - if project.policy("package.msbuild.multi_tool_task") then + if project.policy("package.msbuild.multi_tool_task") or package:policy("package.msbuild.multi_tool_task") then table.insert(configs, "/p:UseMultiToolTask=true") table.insert(configs, "/p:EnforceProcessCountAcrossBuilds=true") if jobs then |
