Commit 869037ee authored by Stephen Kelly's avatar Stephen Kelly
Browse files

cmMakefile: Remove ALIAS check

This method is only called from the cmPlugin API, which predates ALIAS
targets and is obsolete.
parent 2f6462a6
......@@ -1250,13 +1250,6 @@ void cmMakefile::AddLinkDirectoryForTarget(const std::string& target,
{
cmTargets::iterator i = this->Targets.find(target);
if (i != this->Targets.end()) {
if (this->IsAlias(target)) {
std::ostringstream e;
e << "ALIAS target \"" << target << "\" "
<< "may not be linked into another target.";
this->IssueMessage(cmake::FATAL_ERROR, e.str());
return;
}
i->second.AddLinkDirectory(d);
} else {
cmSystemTools::Error(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment