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.
This commit is contained in:
Benjamin Ballet 2016-07-21 10:43:36 +02:00 committed by Brad King
parent 850764fc70
commit 059c230d89
1 changed files with 1 additions and 0 deletions

View File

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