diff options
author | Benjamin Ballet <bballet@ivsweb.com> | 2016-07-21 08:43:36 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-07-21 15:13:16 (GMT) |
commit | 059c230d89b2f5c82423fc6458302620f4b09599 (patch) | |
tree | bfb84e50b00d094eb0fcff3a09e5b8efdb9e77a6 /Source/cmGlobalVisualStudio10Generator.cxx | |
parent | 850764fc701ce9e1190d5bb20af97ec511763f0b (diff) | |
download | CMake-059c230d89b2f5c82423fc6458302620f4b09599.zip CMake-059c230d89b2f5c82423fc6458302620f4b09599.tar.gz CMake-059c230d89b2f5c82423fc6458302620f4b09599.tar.bz2 |
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.
Diffstat (limited to 'Source/cmGlobalVisualStudio10Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio10Generator.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio10Generator.cxx b/Source/cmGlobalVisualStudio10Generator.cxx index c13c622..df831e5 100644 --- a/Source/cmGlobalVisualStudio10Generator.cxx +++ b/Source/cmGlobalVisualStudio10Generator.cxx @@ -101,6 +101,7 @@ cmGlobalVisualStudio10Generator::cmGlobalVisualStudio10Generator( this->SystemIsWindowsPhone = false; this->SystemIsWindowsStore = false; this->MSBuildCommandInitialized = false; + this->DefaultPlatformToolset = "v100"; this->Version = VS10; } |