Commit 3db61cf9 authored by Brad King's avatar Brad King
Browse files

VS: Fix VCTargetsPath detection when cross-compiling

Tell `MSBuild` to use the same `Platform` that we generate into the
`VCTargetsPath` detection project.

Fixes: #22068
parent 95afd879
Pipeline #226096 waiting for manual action with stages
in 48 minutes and 31 seconds
......@@ -1036,6 +1036,7 @@ bool cmGlobalVisualStudio10Generator::FindVCTargetsPath(cmMakefile* mf)
cmd.push_back(cmStrCat("/p:Platform=", this->GetPlatformName()));
cmd.push_back(std::string("/p:VisualStudioVersion=") +
std::string out;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment