mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-01 11:22:21 -06:00
cmGeneratorTarget: Remove EvaluateInterfaceProperty argument default
Pass it explicitly at the call sites.
This commit is contained in:
@@ -2714,8 +2714,9 @@ static std::string getLinkedTargetsContent(
|
||||
target->GetLocalGenerator(), context->Config, context->Quiet, target,
|
||||
target, context->EvaluateForBuildsystem, lib.Backtrace,
|
||||
context->Language);
|
||||
std::string libResult =
|
||||
lib.Target->EvaluateInterfaceProperty(prop, &libContext, dagChecker);
|
||||
std::string libResult = lib.Target->EvaluateInterfaceProperty(
|
||||
prop, &libContext, dagChecker,
|
||||
cmGeneratorTarget::LinkInterfaceFor::Usage);
|
||||
if (!libResult.empty()) {
|
||||
if (result.empty()) {
|
||||
result = std::move(libResult);
|
||||
@@ -2920,8 +2921,9 @@ static const struct TargetPropertyNode : public cmGeneratorExpressionNode
|
||||
|
||||
if (isInterfaceProperty) {
|
||||
return cmGeneratorExpression::StripEmptyListElements(
|
||||
target->EvaluateInterfaceProperty(propertyName, context,
|
||||
dagCheckerParent));
|
||||
target->EvaluateInterfaceProperty(
|
||||
propertyName, context, dagCheckerParent,
|
||||
cmGeneratorTarget::LinkInterfaceFor::Usage));
|
||||
}
|
||||
|
||||
cmGeneratorExpressionDAGChecker dagChecker(
|
||||
|
||||
@@ -883,7 +883,7 @@ public:
|
||||
std::string EvaluateInterfaceProperty(
|
||||
std::string const& prop, cmGeneratorExpressionContext* context,
|
||||
cmGeneratorExpressionDAGChecker* dagCheckerParent,
|
||||
LinkInterfaceFor interfaceFor = LinkInterfaceFor::Usage) const;
|
||||
LinkInterfaceFor interfaceFor) const;
|
||||
|
||||
bool HaveInstallTreeRPATH(const std::string& config) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user