summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio9Win64Generator.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/cmGlobalVisualStudio9Win64Generator.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/cmGlobalVisualStudio9Win64Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio9Win64Generator.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmGlobalVisualStudio9Win64Generator.cxx b/Source/cmGlobalVisualStudio9Win64Generator.cxx
index c5b9bab..67c0bf6 100644
--- a/Source/cmGlobalVisualStudio9Win64Generator.cxx
+++ b/Source/cmGlobalVisualStudio9Win64Generator.cxx
@@ -16,7 +16,6 @@
cmGlobalVisualStudio9Win64Generator::cmGlobalVisualStudio9Win64Generator()
{
- this->PlatformName = "x64";
}
///! Create a local generator appropriate to this Global Generator
@@ -24,7 +23,7 @@ cmLocalGenerator *cmGlobalVisualStudio9Win64Generator::CreateLocalGenerator()
{
cmLocalVisualStudio7Generator *lg = new cmLocalVisualStudio7Generator;
lg->SetVersion9();
- lg->SetPlatformName(this->PlatformName.c_str());
+ lg->SetPlatformName(this->GetPlatformName());
lg->SetExtraFlagTable(this->GetExtraFlagTableVS8());
lg->SetGlobalGenerator(this);
return lg;