Commit 876645af authored by Ken Martin's avatar Ken Martin
Browse files

better warning message

parent e4e920ef
......@@ -205,7 +205,8 @@ bool cmLoadCommandCommand::InitialPass(std::vector<std::string> const& argsIn)
if(!lib)
{
std::string err = "Attempt to load the library ";
err += fullPath + " failed";
err += fullPath + " failed. Additional error info is:\n";
err += cmDynamicLoader::LastError();
this->SetError(err.c_str());
return false;
}
......
Markdown is supported
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