VS: Drop unused condition in link debug flag generation
The `linkOptions.IsDebug()` call never returns true because it checks for `DebugInformationFormat` which is a compiler (cl) flag.
This commit is contained in:
parent
4ca9df8bd1
commit
c22da7cff7
|
@ -2597,7 +2597,7 @@ cmVisualStudio10TargetGenerator::ComputeLinkOptions(std::string const& config)
|
|||
linkOptions.AddFlag("StackReserveSize", stackVal);
|
||||
}
|
||||
|
||||
if(linkOptions.IsDebug() || flags.find("/debug") != flags.npos)
|
||||
if(flags.find("/debug") != flags.npos)
|
||||
{
|
||||
if (this->LocalGenerator->GetVersion() >=
|
||||
cmGlobalVisualStudioGenerator::VS14)
|
||||
|
|
Loading…
Reference in New Issue