mirror of https://github.com/aminya/setup-cpp
fix: pass "--ignore-dependencies to visualcpp-build-tools
This commit is contained in:
parent
f446a06139
commit
33870789f0
|
@ -22,7 +22,7 @@ export async function setupMSVC(
|
||||||
try {
|
try {
|
||||||
if (version === "2015") {
|
if (version === "2015") {
|
||||||
toolset = "14.0"
|
toolset = "14.0"
|
||||||
await setupChocoPack("visualcpp-build-tools", "14.0.25420.1", [])
|
await setupChocoPack("visualcpp-build-tools", "14.0.25420.1", ["--ignore-dependencies"])
|
||||||
VCTargetsPath = "C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140"
|
VCTargetsPath = "C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140"
|
||||||
} else if (version === "2017") {
|
} else if (version === "2017") {
|
||||||
toolset = "14.16"
|
toolset = "14.16"
|
||||||
|
|
Loading…
Reference in New Issue