From 161f703e76920b03fdc1a1044c65ac6a9fffec0e Mon Sep 17 00:00:00 2001 From: Brad King Date: Sat, 22 Feb 2025 16:57:43 -0500 Subject: GenEx: Restore evaluation context for conditional transitive properties In commit e8010b67c7 (cmGeneratorExpressionDAGChecker: Make local generator available in constructor, 2024-04-25, v3.30.0-rc1~172^2~6) we accidentally failed to preserve `EvaluateInterfaceProperty`'s consistency with `TargetPropertyNode::Evaluate`. Fix its local generator selection to match the evaluation context. --- Source/cmGeneratorTarget_TransitiveProperty.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmGeneratorTarget_TransitiveProperty.cxx b/Source/cmGeneratorTarget_TransitiveProperty.cxx index 8c5d9bd..19300cc 100644 --- a/Source/cmGeneratorTarget_TransitiveProperty.cxx +++ b/Source/cmGeneratorTarget_TransitiveProperty.cxx @@ -114,7 +114,7 @@ std::string cmGeneratorTarget::EvaluateInterfaceProperty( prop, nullptr, dagCheckerParent, - this->LocalGenerator, + context->LG, context->Config, context->Backtrace, }; -- cgit v0.12