VS: Always add IgnoreSpecificDefaultLibraries to .vcxproj files

Append %(IgnoreSpecificDefaultLibraries) to any user-specified
libraries so that the system-default list of libraries to ignore
is honored even when the user specifies more.
This commit is contained in:
Brad King 2014-07-31 14:03:03 -04:00
parent 29410df23d
commit c1580a9217
1 changed files with 2 additions and 0 deletions

View File

@ -1864,6 +1864,8 @@ cmVisualStudio10TargetGenerator::ComputeLinkOptions(std::string const& config)
{
linkOptions.AddFlag("ModuleDefinitionFile", def.c_str());
}
linkOptions.AppendFlag("IgnoreSpecificDefaultLibraries",
"%(IgnoreSpecificDefaultLibraries)");
}
this->LinkOptions[config] = pOptions.release();