From 059c230d89b2f5c82423fc6458302620f4b09599 Mon Sep 17 00:00:00 2001 From: Benjamin Ballet Date: Thu, 21 Jul 2016 10:43:36 +0200 Subject: [PATCH] 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. --- Source/cmGlobalVisualStudio10Generator.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/cmGlobalVisualStudio10Generator.cxx b/Source/cmGlobalVisualStudio10Generator.cxx index c13c622f5..df831e55b 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; }