summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio9Generator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-07-17 20:58:34 (GMT)
committerBrad King <brad.king@kitware.com>2014-07-17 20:59:53 (GMT)
commit7a526c35f60ced43606bf028a21dedfaac77c2e9 (patch)
tree3cde6f3f16175335dfa67a9941967fe3bd5d939b /Source/cmGlobalVisualStudio9Generator.cxx
parente7fdb44b1be63e18d03e86f61611dba677e98978 (diff)
downloadCMake-7a526c35f60ced43606bf028a21dedfaac77c2e9.zip
CMake-7a526c35f60ced43606bf028a21dedfaac77c2e9.tar.gz
CMake-7a526c35f60ced43606bf028a21dedfaac77c2e9.tar.bz2
VS: Delay getting platform name in local generator
Ask the global generator during generation instead of trying to store it up front. Later the global generator may not know the platform name when it is creating the local generator.
Diffstat (limited to 'Source/cmGlobalVisualStudio9Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio9Generator.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio9Generator.cxx b/Source/cmGlobalVisualStudio9Generator.cxx
index 00d9179..1d73b5c 100644
--- a/Source/cmGlobalVisualStudio9Generator.cxx
+++ b/Source/cmGlobalVisualStudio9Generator.cxx
@@ -115,7 +115,6 @@ cmLocalGenerator *cmGlobalVisualStudio9Generator::CreateLocalGenerator()
{
cmLocalVisualStudio7Generator *lg
= new cmLocalVisualStudio7Generator(cmLocalVisualStudioGenerator::VS9);
- lg->SetPlatformName(this->GetPlatformName());
lg->SetExtraFlagTable(this->GetExtraFlagTableVS8());
lg->SetGlobalGenerator(this);
return lg;