Browse Source

cmGeneratorExpressionNode: avoid some strlen in $<TARGET_PROPERTY>

pull/319/head
Ben Boeckel 8 years ago
committed by Brad King
parent
commit
6dfd0f9294
  1. 3
      Source/cmGeneratorExpressionNode.cxx

3
Source/cmGeneratorExpressionNode.cxx

@ -947,7 +947,8 @@ static const struct TargetPropertyNode : public cmGeneratorExpressionNode
"Target name not supported.");
return std::string();
}
if (propertyName == "ALIASED_TARGET") {
static const std::string propALIASED_TARGET = "ALIASED_TARGET";
if (propertyName == propALIASED_TARGET) {
if (context->LG->GetMakefile()->IsAlias(targetName)) {
if (cmGeneratorTarget* tgt =
context->LG->FindGeneratorTargetToUse(targetName)) {

Loading…
Cancel
Save