summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio9Generator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-05-17 09:33:09 (GMT)
committerBrad King <brad.king@kitware.com>2015-05-19 15:02:33 (GMT)
commite435f875ec926d5080414837c5b7850475e2b45b (patch)
treeb672cbb9c482d4831af9fa4b2edaaa700e3cabf8 /Source/cmGlobalVisualStudio9Generator.cxx
parentb5f093f09652d6e7a2bb7a94b5a76e09b664cf68 (diff)
downloadCMake-e435f875ec926d5080414837c5b7850475e2b45b.zip
CMake-e435f875ec926d5080414837c5b7850475e2b45b.tar.gz
CMake-e435f875ec926d5080414837c5b7850475e2b45b.tar.bz2
VS: Move version information to global generator.
Diffstat (limited to 'Source/cmGlobalVisualStudio9Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio9Generator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalVisualStudio9Generator.cxx b/Source/cmGlobalVisualStudio9Generator.cxx
index 93028dc..8f32165 100644
--- a/Source/cmGlobalVisualStudio9Generator.cxx
+++ b/Source/cmGlobalVisualStudio9Generator.cxx
@@ -104,6 +104,7 @@ cmGlobalVisualStudio9Generator::cmGlobalVisualStudio9Generator(
const std::string& name, const std::string& platformName)
: cmGlobalVisualStudio8Generator(name, platformName)
{
+ this->Version = VS9;
}
//----------------------------------------------------------------------------
@@ -118,8 +119,7 @@ cmLocalGenerator *
cmGlobalVisualStudio9Generator::CreateLocalGenerator(cmLocalGenerator* parent)
{
cmLocalVisualStudio7Generator *lg
- = new cmLocalVisualStudio7Generator(cmLocalVisualStudioGenerator::VS9,
- this, parent);
+ = new cmLocalVisualStudio7Generator(this, parent);
return lg;
}