Merge topic 'vs14-debug-enum-older-toolsets'
3f15665a
VS: Fix VS 2015 .vcxproj debug setting for v100 toolset (#15986)
This commit is contained in:
commit
79e05af4a3
|
@ -2715,7 +2715,8 @@ cmVisualStudio10TargetGenerator::ComputeLinkOptions(std::string const& config)
|
|||
static_cast<cmGlobalVisualStudio10Generator*>(this->GlobalGenerator);
|
||||
const char* toolset = gg->GetPlatformToolset();
|
||||
if (toolset &&
|
||||
(cmHasLiteralPrefix(toolset, "v110") ||
|
||||
(cmHasLiteralPrefix(toolset, "v100") ||
|
||||
cmHasLiteralPrefix(toolset, "v110") ||
|
||||
cmHasLiteralPrefix(toolset, "v120")))
|
||||
{
|
||||
if (const char* debug = linkOptions.GetFlag("GenerateDebugInformation"))
|
||||
|
|
Loading…
Reference in New Issue