ENH: fix warning message a bit
This commit is contained in:
parent
fdf169be3a
commit
84cea9806f
|
@ -303,7 +303,7 @@ void cmMakefile::IssueMessage(cmake::MessageType t, std::string const& text) con
|
|||
{
|
||||
return;
|
||||
}
|
||||
msg << "(Code)";
|
||||
msg << "(dev)";
|
||||
}
|
||||
msg << ":";
|
||||
}
|
||||
|
@ -334,6 +334,10 @@ void cmMakefile::IssueMessage(cmake::MessageType t, std::string const& text) con
|
|||
<< this->LocalGenerator->Convert(this->GetCurrentDirectory(),
|
||||
cmLocalGenerator::HOME);
|
||||
}
|
||||
else if(this->GetCMakeInstance()->GetIsInTryCompile())
|
||||
{
|
||||
msg << " in directory " << this->GetCurrentDirectory();
|
||||
}
|
||||
else
|
||||
{
|
||||
msg << " in top-level directory";
|
||||
|
|
Loading…
Reference in New Issue