Commit 6018c279 authored by Brad King's avatar Brad King 💬
Browse files

BUG: Clarified confusing error message.

parent 1b6912f1
......@@ -757,7 +757,11 @@ void cmMakefile::AddLinkLibraryForTarget(const char *target,
}
else
{
cmSystemTools::Error("Attempt to add link libraries to non-existant target: ", target, " for lib ", lib);
cmOStringStream e;
e << "Attempt to add link library \""
<< lib << "\" to target \""
<< target << "\" which is not built by this project.";
cmSystemTools::Error(e.str().c_str());
}
}
......
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