diff options
author | Brad King <brad.king@kitware.com> | 2014-07-17 20:58:34 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-07-17 20:59:53 (GMT) |
commit | 7a526c35f60ced43606bf028a21dedfaac77c2e9 (patch) | |
tree | 3cde6f3f16175335dfa67a9941967fe3bd5d939b /Source/cmGlobalVisualStudio10Generator.cxx | |
parent | e7fdb44b1be63e18d03e86f61611dba677e98978 (diff) | |
download | CMake-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/cmGlobalVisualStudio10Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio10Generator.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio10Generator.cxx b/Source/cmGlobalVisualStudio10Generator.cxx index 043f89d..c1b087a 100644 --- a/Source/cmGlobalVisualStudio10Generator.cxx +++ b/Source/cmGlobalVisualStudio10Generator.cxx @@ -168,7 +168,6 @@ cmLocalGenerator *cmGlobalVisualStudio10Generator::CreateLocalGenerator() { cmLocalVisualStudio10Generator* lg = new cmLocalVisualStudio10Generator(cmLocalVisualStudioGenerator::VS10); - lg->SetPlatformName(this->GetPlatformName()); lg->SetGlobalGenerator(this); return lg; } |