cmMakefile: Simplify convert condition.

The CallStack is checked above.
This commit is contained in:
Stephen Kelly 2015-05-25 09:21:56 +02:00
parent 4fdad392b6
commit e40fcb598d
1 changed files with 1 additions and 2 deletions

View File

@ -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);