mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-12 23:43:59 +03:00
cmMakefile: Simplify convert condition.
The CallStack is checked above.
This commit is contained in:
1 parent
4fdad392b6
commit
e40fcb598d
1 file changed
+1
-2
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user