summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio10Generator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-09-05 18:02:58 (GMT)
committerBrad King <brad.king@kitware.com>2014-09-05 18:02:58 (GMT)
commit68d4280ac4cb692b908620884b0842b7a01debeb (patch)
tree151dcefe8a2c123a1b26962e3f3369e092a7ee03 /Source/cmGlobalVisualStudio10Generator.cxx
parentad2a4776aa34c84a069a9e4d83ea32174ac6e6ac (diff)
downloadCMake-68d4280ac4cb692b908620884b0842b7a01debeb.zip
CMake-68d4280ac4cb692b908620884b0842b7a01debeb.tar.gz
CMake-68d4280ac4cb692b908620884b0842b7a01debeb.tar.bz2
VS: Refactor internal default platform name selection
Rename the 'PlatformName' member to 'DefaultPlatformName' and make sure it is only read through a 'GetPlatformName()' call. This will allow non-default names to be chosen later.
Diffstat (limited to 'Source/cmGlobalVisualStudio10Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio10Generator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio10Generator.cxx b/Source/cmGlobalVisualStudio10Generator.cxx
index 063e9e1..e753c3c 100644
--- a/Source/cmGlobalVisualStudio10Generator.cxx
+++ b/Source/cmGlobalVisualStudio10Generator.cxx
@@ -125,7 +125,7 @@ bool cmGlobalVisualStudio10Generator::SetSystemName(std::string const& s,
{
return false;
}
- if(this->PlatformName == "Itanium" || this->PlatformName == "x64")
+ if(this->GetPlatformName() == "Itanium" || this->GetPlatformName() == "x64")
{
if(this->IsExpressEdition() && !this->Find64BitTools(mf))
{