summaryrefslogtreecommitdiff
path: root/Source/cmMessageCommand.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-01-25 08:39:31 -0500
committerBill Hoffman <bill.hoffman@kitware.com>2006-01-25 08:39:31 -0500
commit0205c6bb1a88909fe373a4b425eab0dc6a7495de (patch)
tree8ef9e0bc28d849bd41e558a37395d9fe670ef553 /Source/cmMessageCommand.cxx
parent07ef88c985a66cec5126930dbc3cfd736072183e (diff)
downloadcmake-0205c6bb1a88909fe373a4b425eab0dc6a7495de.tar.gz
ENH: make all errors fatal in message command
Diffstat (limited to 'Source/cmMessageCommand.cxx')
-rw-r--r--Source/cmMessageCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMessageCommand.cxx b/Source/cmMessageCommand.cxx
index e1722be2a9..fc02f5ad08 100644
--- a/Source/cmMessageCommand.cxx
+++ b/Source/cmMessageCommand.cxx
@@ -72,7 +72,7 @@ bool cmMessageCommand::InitialPass(std::vector<std::string> const& args)
cmSystemTools::Message(message.c_str());
}
}
- if(fatal_error)
+ if(fatal_error || send_error)
{
cmSystemTools::SetFatalErrorOccured();
}