summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio11Generator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-06-04 17:09:35 (GMT)
committerBrad King <brad.king@kitware.com>2014-06-04 17:16:37 (GMT)
commit98afb4549f66c692eeec8bbc8a1f7b333d3051a5 (patch)
tree28479e8e5b6545df3589041e0024eaf5f12d1005 /Source/cmGlobalVisualStudio11Generator.cxx
parent3e9f6e36f3f5fd50303d1b71fc153c0ae8f916f5 (diff)
downloadCMake-98afb4549f66c692eeec8bbc8a1f7b333d3051a5.zip
CMake-98afb4549f66c692eeec8bbc8a1f7b333d3051a5.tar.gz
CMake-98afb4549f66c692eeec8bbc8a1f7b333d3051a5.tar.bz2
VS: Split user- and generator-provided PlatformToolset
Divide the cmGlobalVisualStudio10Generator "PlatformToolset" member into two members representing the generator-selected default toolset and the user-specified CMAKE_GENERATOR_TOOLSET value. Prefer the user-specified value, if any, and then fall back to the generator-selected default.
Diffstat (limited to 'Source/cmGlobalVisualStudio11Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio11Generator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio11Generator.cxx b/Source/cmGlobalVisualStudio11Generator.cxx
index 4caa7f2..7033f2a 100644
--- a/Source/cmGlobalVisualStudio11Generator.cxx
+++ b/Source/cmGlobalVisualStudio11Generator.cxx
@@ -117,7 +117,7 @@ cmGlobalVisualStudio11Generator::cmGlobalVisualStudio11Generator(
this->ExpressEdition = cmSystemTools::ReadRegistryValue(
"HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VCExpress\\11.0\\Setup\\VC;"
"ProductDir", vc11Express, cmSystemTools::KeyWOW64_32);
- this->PlatformToolset = "v110";
+ this->DefaultPlatformToolset = "v110";
}
//----------------------------------------------------------------------------