Merge topic 'vs14-debug-enum-older-toolsets'

36fc3a53 VS: Fix VS 2015 .vcxproj debug setting for v90 toolset (#15986)
This commit is contained in:
Brad King 2016-07-14 09:23:45 -04:00 committed by CMake Topic Stage
commit 4d3d28750e
1 changed files with 2 additions and 1 deletions

View File

@ -2359,7 +2359,8 @@ bool cmVisualStudio10TargetGenerator::ComputeLinkOptions(
cmGlobalVisualStudio10Generator* gg =
static_cast<cmGlobalVisualStudio10Generator*>(this->GlobalGenerator);
const char* toolset = gg->GetPlatformToolset();
if (toolset && (cmHasLiteralPrefix(toolset, "v100") ||
if (toolset && (cmHasLiteralPrefix(toolset, "v90") ||
cmHasLiteralPrefix(toolset, "v100") ||
cmHasLiteralPrefix(toolset, "v110") ||
cmHasLiteralPrefix(toolset, "v120"))) {
if (const char* debug =