COMP: Fixed unused variable warning.

This commit is contained in:
Brad King 2005-12-13 18:23:37 -05:00
parent 5007cbce3b
commit af36d6e2e7
1 changed files with 1 additions and 1 deletions

View File

@ -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)