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:
parent
29410df23d
commit
c1580a9217
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue