Genex: Adjust code layout slightly

This commit is contained in:
Brad King 2014-07-15 15:19:44 -04:00
parent d5f0743d0f
commit 9d72df4505
1 changed files with 3 additions and 4 deletions

View File

@ -1039,8 +1039,8 @@ static const struct TargetPropertyNode : public cmGeneratorExpressionNode
CM_FOR_EACH_TRANSITIVE_PROPERTY_METHOD( CM_FOR_EACH_TRANSITIVE_PROPERTY_METHOD(
ASSERT_TRANSITIVE_PROPERTY_METHOD) ASSERT_TRANSITIVE_PROPERTY_METHOD)
false); false);
}
#undef ASSERT_TRANSITIVE_PROPERTY_METHOD #undef ASSERT_TRANSITIVE_PROPERTY_METHOD
}
} }
std::string linkedTargetsContent; std::string linkedTargetsContent;
@ -1090,9 +1090,8 @@ static const struct TargetPropertyNode : public cmGeneratorExpressionNode
} }
else if(!interfacePropertyName.empty()) else if(!interfacePropertyName.empty())
{ {
const cmTarget::LinkImplementationLibraries *impl if(cmTarget::LinkImplementationLibraries const* impl =
= target->GetLinkImplementationLibraries(context->Config); target->GetLinkImplementationLibraries(context->Config))
if(impl)
{ {
linkedTargetsContent = linkedTargetsContent =
getLinkedTargetsContent(impl->Libraries, target, getLinkedTargetsContent(impl->Libraries, target,