diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-18 14:32:43 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-20 23:18:27 (GMT) |
commit | a4bbdc5ecf4d2b66346e1006cee891acf95c8ad8 (patch) | |
tree | b799b833c0424fa92573a9acdb52d6f67bcc8707 /Source/cmGlobalGenerator.cxx | |
parent | 04b6bb167636ccf2fe565239a44249366ee1e452 (diff) | |
download | CMake-a4bbdc5ecf4d2b66346e1006cee891acf95c8ad8.zip CMake-a4bbdc5ecf4d2b66346e1006cee891acf95c8ad8.tar.gz CMake-a4bbdc5ecf4d2b66346e1006cee891acf95c8ad8.tar.bz2 |
cmLocalGenerator: Remove cmGeneratorTargetsType from setter API.
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index aecae35..a55365f 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -1574,7 +1574,6 @@ void cmGlobalGenerator::FinalizeTargetCompileInfo() void cmGlobalGenerator::CreateGeneratorTargets(TargetTypes targetTypes, cmLocalGenerator *lg) { - cmGeneratorTargetsType generatorTargets; cmMakefile* mf = lg->GetMakefile(); if (targetTypes == AllTargets) { @@ -1585,7 +1584,7 @@ void cmGlobalGenerator::CreateGeneratorTargets(TargetTypes targetTypes, cmTarget* t = &ti->second; cmGeneratorTarget* gt = new cmGeneratorTarget(t, lg); this->GeneratorTargets[t] = gt; - generatorTargets[t] = gt; + lg->AddGeneratorTarget(t, gt); } } @@ -1596,7 +1595,6 @@ void cmGlobalGenerator::CreateGeneratorTargets(TargetTypes targetTypes, cmGeneratorTarget* gt = new cmGeneratorTarget(*j, lg); this->GeneratorTargets[*j] = gt; } - lg->SetGeneratorTargets(generatorTargets); } //---------------------------------------------------------------------------- |