diff options
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r-- | Source/cmLocalUnixMakefileGenerator3.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx index dda9574..396dd75 100644 --- a/Source/cmLocalUnixMakefileGenerator3.cxx +++ b/Source/cmLocalUnixMakefileGenerator3.cxx @@ -128,8 +128,8 @@ void cmLocalUnixMakefileGenerator3::Generate() std::string empty; for(cmTargets::iterator t = targets.begin(); t != targets.end(); ++t) { - cmMakefileTargetGenerator *tg = - cmMakefileTargetGenerator::New(this, t->first, &(t->second)); + cmMakefileTargetGenerator *tg = + cmMakefileTargetGenerator::New(&(t->second)); if (tg) { this->TargetGenerators.push_back(tg); @@ -168,7 +168,7 @@ unsigned long cmLocalUnixMakefileGenerator3 this->TargetGenerators.begin(); mtgIter != this->TargetGenerators.end(); ++mtgIter) { - if (!strcmp(name,(*mtgIter)->GetTargetName())) + if (!strcmp(name,(*mtgIter)->GetTarget()->GetName())) { return (*mtgIter)->GetNumberOfProgressActions(); } |