|  | @@ -1081,7 +1081,7 @@ static const struct TargetPropertyNode : public cmGeneratorExpressionNode
 | 
											
												
													
														|  |          }
 |  |          }
 | 
											
												
													
														|  |        }
 |  |        }
 | 
											
												
													
														|  |  #undef POPULATE_INTERFACE_PROPERTY_NAME
 |  |  #undef POPULATE_INTERFACE_PROPERTY_NAME
 | 
											
												
													
														|  | -    cmTarget const* headTarget = context->HeadTarget
 |  | 
 | 
											
												
													
														|  | 
 |  | +    cmTarget const* headTarget = context->HeadTarget && isInterfaceProperty
 | 
											
												
													
														|  |                                 ? context->HeadTarget : target;
 |  |                                 ? context->HeadTarget : target;
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |      if(isInterfaceProperty)
 |  |      if(isInterfaceProperty)
 | 
											
										
											
												
													
														|  | @@ -1103,7 +1103,7 @@ static const struct TargetPropertyNode : public cmGeneratorExpressionNode
 | 
											
												
													
														|  |          {
 |  |          {
 | 
											
												
													
														|  |          linkedTargetsContent =
 |  |          linkedTargetsContent =
 | 
											
												
													
														|  |            getLinkedTargetsContent(impl->Libraries, target,
 |  |            getLinkedTargetsContent(impl->Libraries, target,
 | 
											
												
													
														|  | -                                  headTarget,
 |  | 
 | 
											
												
													
														|  | 
 |  | +                                  target,
 | 
											
												
													
														|  |                                    context, &dagChecker,
 |  |                                    context, &dagChecker,
 | 
											
												
													
														|  |                                    interfacePropertyName);
 |  |                                    interfacePropertyName);
 | 
											
												
													
														|  |          }
 |  |          }
 |