Browse Source

VS: Fix VS 2015 .vcxproj debug setting for v100 toolset (#15986)

Brad King 9 years ago
parent
commit
3f15665a45
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Source/cmVisualStudio10TargetGenerator.cxx

+ 2 - 1
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"))