summaryrefslogtreecommitdiff
path: root/Source/cmMessageCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-04-14 09:20:16 -0400
committerBrad King <brad.king@kitware.com>2008-04-14 09:20:16 -0400
commitce0f575473fa46fb732089390be4e89498a914d1 (patch)
tree0a8bd2e9e950558eb62762abf63a09ff75c81517 /Source/cmMessageCommand.cxx
parent238d9d9e308a0e7a4a05ebb9992a99b38639747c (diff)
downloadcmake-ce0f575473fa46fb732089390be4e89498a914d1.tar.gz
ENH: Make message(SEND_ERROR) report context.
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 26d9012b89..a6f5808b6f 100644
--- a/Source/cmMessageCommand.cxx
+++ b/Source/cmMessageCommand.cxx
@@ -60,7 +60,7 @@ bool cmMessageCommand
if (send_error || fatal_error)
{
- cmSystemTools::Error(message.c_str());
+ this->Makefile->IssueMessage(cmake::FATAL_ERROR, message.c_str());
}
else
{