summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-03-07 15:07:39 (GMT)
committerBrad King <brad.king@kitware.com>2016-03-07 15:07:39 (GMT)
commit3f15665a4554efde8d80d6fac689dca187f520bc (patch)
treea747f925be171543b9b5249910abe9c629be02ea
parentdc422d271e4504ebab2176e841480861a17d13e1 (diff)
downloadCMake-3f15665a4554efde8d80d6fac689dca187f520bc.zip
CMake-3f15665a4554efde8d80d6fac689dca187f520bc.tar.gz
CMake-3f15665a4554efde8d80d6fac689dca187f520bc.tar.bz2
VS: Fix VS 2015 .vcxproj debug setting for v100 toolset (#15986)
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index 769edac..c9c09fd 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -2670,7 +2670,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"))