summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-09-01 18:43:59 (GMT)
committerBrad King <brad.king@kitware.com>2016-09-01 18:50:04 (GMT)
commit9998774f2280999c559cdffe7473085c841c2d39 (patch)
tree42f794bf1e8b9421bf6c762e2ab6605fbc531363
parent926886a41c5d0784ec432703585b2b81aef165a6 (diff)
downloadCMake-9998774f2280999c559cdffe7473085c841c2d39.zip
CMake-9998774f2280999c559cdffe7473085c841c2d39.tar.gz
CMake-9998774f2280999c559cdffe7473085c841c2d39.tar.bz2
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 11dc28c..7e17818 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"))) {