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.
|
// command. Add whatever context information we have.
|
||||||
lfc.FilePath = this->ListFileStack.back();
|
lfc.FilePath = this->ListFileStack.back();
|
||||||
}
|
}
|
||||||
if(!this->CallStack.empty()
|
if(!this->GetCMakeInstance()->GetIsInTryCompile())
|
||||||
|| !this->GetCMakeInstance()->GetIsInTryCompile())
|
|
||||||
{
|
{
|
||||||
lfc.FilePath = this->LocalGenerator->Convert(lfc.FilePath,
|
lfc.FilePath = this->LocalGenerator->Convert(lfc.FilePath,
|
||||||
cmLocalGenerator::HOME);
|
cmLocalGenerator::HOME);
|
||||||
|
|
Loading…
Reference in New Issue