mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-02 03:39:43 -06:00
BUG: Report error when a target does not exist.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user