cmCommonTargetGenerator: Port implementation detail to cmGeneratorTarget.
This commit is contained in:
parent
ceb35b63a7
commit
763f7b19fc
|
@ -383,7 +383,7 @@ std::vector<std::string>
|
|||
cmCommonTargetGenerator::GetLinkedTargetDirectories() const
|
||||
{
|
||||
std::vector<std::string> dirs;
|
||||
std::set<cmTarget const*> emitted;
|
||||
std::set<cmGeneratorTarget const*> emitted;
|
||||
if (cmComputeLinkInformation* cli =
|
||||
this->GeneratorTarget->GetLinkInformation(this->ConfigName))
|
||||
{
|
||||
|
@ -397,7 +397,7 @@ cmCommonTargetGenerator::GetLinkedTargetDirectories() const
|
|||
// Target->GetLinkInformation already processed their
|
||||
// link interface and they don't have any output themselves.
|
||||
&& linkee->GetType() != cmTarget::INTERFACE_LIBRARY
|
||||
&& emitted.insert(linkee->Target).second)
|
||||
&& emitted.insert(linkee).second)
|
||||
{
|
||||
cmLocalGenerator* lg = linkee->GetLocalGenerator();
|
||||
cmMakefile* mf = linkee->Target->GetMakefile();
|
||||
|
|
Loading…
Reference in New Issue