mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-10 15:50:50 -06:00
cmGeneratorExpressionNode: avoid some strlen in $<TARGET_PROPERTY>
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user