BUG: Report error when a target does not exist.
This commit is contained in:
parent
3cd5fd4e7b
commit
b3b341cbbe
@ -92,6 +92,7 @@ bool cmSetTargetPropertiesCommand::InitialPass(
|
|||||||
std::string message = "Can not find target to add properties to: ";
|
std::string message = "Can not find target to add properties to: ";
|
||||||
message += args[i];
|
message += args[i];
|
||||||
this->SetError(message.c_str());
|
this->SetError(message.c_str());
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user