cmMakefile: Simplify convert condition.
The CallStack is checked above.
This commit is contained in:
parent
4fdad392b6
commit
e40fcb598d
|
@ -272,8 +272,7 @@ void cmMakefile::IssueMessage(cmake::MessageType t,
|
|||
// command. Add whatever context information we have.
|
||||
lfc.FilePath = this->ListFileStack.back();
|
||||
}
|
||||
if(!this->CallStack.empty()
|
||||
|| !this->GetCMakeInstance()->GetIsInTryCompile())
|
||||
if(!this->GetCMakeInstance()->GetIsInTryCompile())
|
||||
{
|
||||
lfc.FilePath = this->LocalGenerator->Convert(lfc.FilePath,
|
||||
cmLocalGenerator::HOME);
|
||||
|
|
Loading…
Reference in New Issue