|
@@ -543,7 +543,7 @@ static const struct TargetPropertyNode : public cmGeneratorExpressionNode
|
|
|
+ (sizeof(targetPropertyTransitiveWhitelist) /
|
|
+ (sizeof(targetPropertyTransitiveWhitelist) /
|
|
|
sizeof(*targetPropertyTransitiveWhitelist));
|
|
sizeof(*targetPropertyTransitiveWhitelist));
|
|
|
if (std::find_if(transBegin, transEnd,
|
|
if (std::find_if(transBegin, transEnd,
|
|
|
- TransitiveWhitelistCompare(interfacePropertyName)) != transEnd)
|
|
|
|
|
|
|
+ TransitiveWhitelistCompare(propertyName)) != transEnd)
|
|
|
{
|
|
{
|
|
|
const cmTarget::LinkInterface *iface = target->GetLinkInterface(
|
|
const cmTarget::LinkInterface *iface = target->GetLinkInterface(
|
|
|
context->Config,
|
|
context->Config,
|
|
@@ -556,6 +556,20 @@ static const struct TargetPropertyNode : public cmGeneratorExpressionNode
|
|
|
interfacePropertyName);
|
|
interfacePropertyName);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+ else if (std::find_if(transBegin, transEnd,
|
|
|
|
|
+ TransitiveWhitelistCompare(interfacePropertyName)) != transEnd)
|
|
|
|
|
+ {
|
|
|
|
|
+ const cmTarget::LinkImplementation *impl = target->GetLinkImplementation(
|
|
|
|
|
+ context->Config,
|
|
|
|
|
+ context->HeadTarget);
|
|
|
|
|
+ if(impl)
|
|
|
|
|
+ {
|
|
|
|
|
+ linkedTargetsContent =
|
|
|
|
|
+ getLinkedTargetsContent(impl->Libraries, target,
|
|
|
|
|
+ context, &dagChecker,
|
|
|
|
|
+ interfacePropertyName);
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
linkedTargetsContent =
|
|
linkedTargetsContent =
|
|
|
cmGeneratorExpression::StripEmptyListElements(linkedTargetsContent);
|
|
cmGeneratorExpression::StripEmptyListElements(linkedTargetsContent);
|