Browse Source

VS: Explicitly default to v100 toolset in Visual Studio 2010

Otherwise `CMAKE_VS_PLATFORM_TOOLSET` is not set even though the `v100`
toolset is chosen.
Benjamin Ballet 9 years ago
parent
commit
059c230d89
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Source/cmGlobalVisualStudio10Generator.cxx

+ 1 - 0
Source/cmGlobalVisualStudio10Generator.cxx

@@ -101,6 +101,7 @@ cmGlobalVisualStudio10Generator::cmGlobalVisualStudio10Generator(
   this->SystemIsWindowsPhone = false;
   this->SystemIsWindowsPhone = false;
   this->SystemIsWindowsStore = false;
   this->SystemIsWindowsStore = false;
   this->MSBuildCommandInitialized = false;
   this->MSBuildCommandInitialized = false;
+  this->DefaultPlatformToolset = "v100";
   this->Version = VS10;
   this->Version = VS10;
 }
 }