mirror of
https://github.com/reactos/CMake.git
synced 2024-12-03 17:11:04 +00:00
cmGeneratorExpressionNode: avoid some strlen in $<TARGET_PROPERTY>
This commit is contained in:
parent
f9235fd474
commit
6dfd0f9294
@ -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…
Reference in New Issue
Block a user