diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-05-25 07:21:56 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-05-25 07:21:56 (GMT) |
commit | e40fcb598de8144a2824c7f30c754d3948231602 (patch) | |
tree | 7ddbafef4c4202a085e261f43652bd53faf8bf6e | |
parent | 4fdad392b6ad59827866b8115bd554397e81ddb5 (diff) | |
download | CMake-e40fcb598de8144a2824c7f30c754d3948231602.zip CMake-e40fcb598de8144a2824c7f30c754d3948231602.tar.gz CMake-e40fcb598de8144a2824c7f30c754d3948231602.tar.bz2 |
cmMakefile: Simplify convert condition.
The CallStack is checked above.
-rw-r--r-- | Source/cmMakefile.cxx | 3 |
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); |