diff options
author | Brad King <brad.king@kitware.com> | 2008-02-18 21:38:34 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-02-18 21:38:34 (GMT) |
commit | 9ed42663068bc8f5bc2510a2fb19b574c06f3a1f (patch) | |
tree | 46768f04a5bc810e9b5abc1011b8ddd7a6bcbd95 /Source/cmLocalUnixMakefileGenerator3.cxx | |
parent | a3781c85fcaee3f49b95e101317a19594f575c98 (diff) | |
download | CMake-9ed42663068bc8f5bc2510a2fb19b574c06f3a1f.zip CMake-9ed42663068bc8f5bc2510a2fb19b574c06f3a1f.tar.gz CMake-9ed42663068bc8f5bc2510a2fb19b574c06f3a1f.tar.bz2 |
ENH: Cleanup impl of PUBLIC_HEADER, PRIVATE_HEADER, and RESOURCE properties
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(); } |