VS: Fix VS 2015 .vcxproj debug setting for v80 toolset

Closes: #16281
This commit is contained in:
Brad King 2016-09-01 14:43:59 -04:00
parent 926886a41c
commit 9998774f22
1 changed files with 3 additions and 1 deletions

View File

@ -2357,7 +2357,9 @@ bool cmVisualStudio10TargetGenerator::ComputeLinkOptions(
static_cast<cmGlobalVisualStudio10Generator*>(this->GlobalGenerator); static_cast<cmGlobalVisualStudio10Generator*>(this->GlobalGenerator);
const char* toolset = gg->GetPlatformToolset(); const char* toolset = gg->GetPlatformToolset();
if (toolset && if (toolset &&
(toolset == kWINDOWS_7_1_SDK || cmHasLiteralPrefix(toolset, "v90") || (toolset == kWINDOWS_7_1_SDK || /* clang-format please break here */
cmHasLiteralPrefix(toolset, "v80") ||
cmHasLiteralPrefix(toolset, "v90") ||
cmHasLiteralPrefix(toolset, "v100") || cmHasLiteralPrefix(toolset, "v100") ||
cmHasLiteralPrefix(toolset, "v110") || cmHasLiteralPrefix(toolset, "v110") ||
cmHasLiteralPrefix(toolset, "v120"))) { cmHasLiteralPrefix(toolset, "v120"))) {