diff options
Diffstat (limited to 'Source/cmGlobalVisualStudio8Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio8Generator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio8Generator.cxx b/Source/cmGlobalVisualStudio8Generator.cxx index be0f1a2..e4948a3 100644 --- a/Source/cmGlobalVisualStudio8Generator.cxx +++ b/Source/cmGlobalVisualStudio8Generator.cxx @@ -156,7 +156,7 @@ void cmGlobalVisualStudio8Generator::WriteSLNFile( std::vector<std::string> dspnames = static_cast<cmLocalVisualStudio7Generator*>(generators[i]) ->GetCreatedProjectNames(); - cmTargets &tgts = generators[i]->GetMakefile()->GetTargets(); + cmTargets& tgts = mf->GetTargets(); for(cmTargets::iterator l = tgts.begin(); l != tgts.end(); ++l) { if(l->first == CMAKE_CHECK_BUILD_SYSTEM_TARGET) |