summaryrefslogtreecommitdiffstats
path: root/Source/cmMessageCommand.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-01-25 13:39:31 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-01-25 13:39:31 (GMT)
commit0205c6bb1a88909fe373a4b425eab0dc6a7495de (patch)
tree8ef9e0bc28d849bd41e558a37395d9fe670ef553 /Source/cmMessageCommand.cxx
parent07ef88c985a66cec5126930dbc3cfd736072183e (diff)
downloadCMake-0205c6bb1a88909fe373a4b425eab0dc6a7495de.zip
CMake-0205c6bb1a88909fe373a4b425eab0dc6a7495de.tar.gz
CMake-0205c6bb1a88909fe373a4b425eab0dc6a7495de.tar.bz2
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 e1722be..fc02f5a 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();
}