summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio8Generator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2005-12-13 23:23:37 (GMT)
committerBrad King <brad.king@kitware.com>2005-12-13 23:23:37 (GMT)
commitaf36d6e2e7cc3169517bae944d8b837abdcd4287 (patch)
tree361396a535b858dbccc9cf38dcd30d53375fe7c6 /Source/cmGlobalVisualStudio8Generator.cxx
parent5007cbce3b4113411c7fc53238fcd4bfabe71314 (diff)
downloadCMake-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.cxx2
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)