summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio10Generator.cxx
diff options
context:
space:
mode:
authorPatrick Gansterer <paroga@paroga.com>2010-08-16 19:49:14 (GMT)
committerBrad King <brad.king@kitware.com>2010-08-24 21:36:09 (GMT)
commit807fca4ce67e4c95133082060b82fdecca30fcde (patch)
treef43877fed364517f86194b20d314935a4be427aa /Source/cmGlobalVisualStudio10Generator.cxx
parentd5e3e04a23e270de97c8614aaca9663d64c42942 (diff)
downloadCMake-807fca4ce67e4c95133082060b82fdecca30fcde.zip
CMake-807fca4ce67e4c95133082060b82fdecca30fcde.tar.gz
CMake-807fca4ce67e4c95133082060b82fdecca30fcde.tar.bz2
VS: Convert PlatformName member to a virtual method
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 691502f..403507f 100644
--- a/Source/cmGlobalVisualStudio10Generator.cxx
+++ b/Source/cmGlobalVisualStudio10Generator.cxx
@@ -40,7 +40,7 @@ void cmGlobalVisualStudio10Generator::WriteSLNHeader(std::ostream& fout)
cmLocalGenerator *cmGlobalVisualStudio10Generator::CreateLocalGenerator()
{
cmLocalVisualStudio10Generator* lg = new cmLocalVisualStudio10Generator;
- lg->SetPlatformName(this->PlatformName.c_str());
+ lg->SetPlatformName(this->GetPlatformName());
lg->SetGlobalGenerator(this);
return lg;
}