diff options
author | Stephen Kelly <steveire@gmail.com> | 2016-01-28 21:10:29 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-08-25 13:47:26 (GMT) |
commit | 14a8d61fd49a9b990cbef7e1495e4763f31c55f2 (patch) | |
tree | 5f680dfd5058708d30cea6442060a25c374849ff /Source/cmMacroCommand.cxx | |
parent | 2af853deb5225a9c8cb3d1e6311680c3fb7d86aa (diff) | |
download | CMake-14a8d61fd49a9b990cbef7e1495e4763f31c55f2.zip CMake-14a8d61fd49a9b990cbef7e1495e4763f31c55f2.tar.gz CMake-14a8d61fd49a9b990cbef7e1495e4763f31c55f2.tar.bz2 |
cmMakefile: Port nested error logic away from cmExecutionStatus
It is no longer needed.
Diffstat (limited to 'Source/cmMacroCommand.cxx')
-rw-r--r-- | Source/cmMacroCommand.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmMacroCommand.cxx b/Source/cmMacroCommand.cxx index ee9dc8a..9d312ee 100644 --- a/Source/cmMacroCommand.cxx +++ b/Source/cmMacroCommand.cxx @@ -159,11 +159,11 @@ bool cmMacroHelperCommand::InvokeInitialPass( } cmExecutionStatus status; if (!this->Makefile->ExecuteCommand(newLFF, status) || - status.GetNestedError()) { + (cmSystemTools::GetErrorOccuredFlag() && + !cmSystemTools::GetFatalErrorOccured())) { // The error message should have already included the call stack // so we do not need to report an error here. macroScope.Quiet(); - inStatus.SetNestedError(true); return false; } if (status.GetReturnInvoked()) { |