summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Ballet <bballet@ivsweb.com>2016-07-21 08:43:36 (GMT)
committerBrad King <brad.king@kitware.com>2016-07-21 15:13:16 (GMT)
commit059c230d89b2f5c82423fc6458302620f4b09599 (patch)
treebfb84e50b00d094eb0fcff3a09e5b8efdb9e77a6
parent850764fc701ce9e1190d5bb20af97ec511763f0b (diff)
downloadCMake-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.
-rw-r--r--Source/cmGlobalVisualStudio10Generator.cxx1
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;
}