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: ";
|
||||
message += args[i];
|
||||
this->SetError(message.c_str());
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue