summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-05-25 07:21:56 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-05-25 07:21:56 (GMT)
commite40fcb598de8144a2824c7f30c754d3948231602 (patch)
tree7ddbafef4c4202a085e261f43652bd53faf8bf6e
parent4fdad392b6ad59827866b8115bd554397e81ddb5 (diff)
downloadCMake-e40fcb598de8144a2824c7f30c754d3948231602.zip
CMake-e40fcb598de8144a2824c7f30c754d3948231602.tar.gz
CMake-e40fcb598de8144a2824c7f30c754d3948231602.tar.bz2
cmMakefile: Simplify convert condition.
The CallStack is checked above.
-rw-r--r--Source/cmMakefile.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 3e8ae85..81960eb 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -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);