better warning message
This commit is contained in:
parent
e4e920ef6c
commit
876645af51
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue