summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-09-01 14:43:59 -0400
committerBrad King <brad.king@kitware.com>2016-09-01 14:50:04 -0400
commit9998774f2280999c559cdffe7473085c841c2d39 (patch)
tree42f794bf1e8b9421bf6c762e2ab6605fbc531363
parent926886a41c5d0784ec432703585b2b81aef165a6 (diff)
downloadcmake-9998774f2280999c559cdffe7473085c841c2d39.tar.gz
VS: Fix VS 2015 .vcxproj debug setting for v80 toolset
Closes: #16281
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index 11dc28cc8e..7e1781895b 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -2357,7 +2357,9 @@ bool cmVisualStudio10TargetGenerator::ComputeLinkOptions(
static_cast<cmGlobalVisualStudio10Generator*>(this->GlobalGenerator);
const char* toolset = gg->GetPlatformToolset();
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, "v110") ||
cmHasLiteralPrefix(toolset, "v120"))) {