diff options
author | Brad King <brad.king@kitware.com> | 2005-12-13 23:23:37 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2005-12-13 23:23:37 (GMT) |
commit | af36d6e2e7cc3169517bae944d8b837abdcd4287 (patch) | |
tree | 361396a535b858dbccc9cf38dcd30d53375fe7c6 /Source/cmGlobalVisualStudio8Generator.cxx | |
parent | 5007cbce3b4113411c7fc53238fcd4bfabe71314 (diff) | |
download | CMake-af36d6e2e7cc3169517bae944d8b837abdcd4287.zip CMake-af36d6e2e7cc3169517bae944d8b837abdcd4287.tar.gz CMake-af36d6e2e7cc3169517bae944d8b837abdcd4287.tar.bz2 |
COMP: Fixed unused variable warning.
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) |