summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-04-14 13:20:16 (GMT)
committerBrad King <brad.king@kitware.com>2008-04-14 13:20:16 (GMT)
commitce0f575473fa46fb732089390be4e89498a914d1 (patch)
tree0a8bd2e9e950558eb62762abf63a09ff75c81517
parent238d9d9e308a0e7a4a05ebb9992a99b38639747c (diff)
downloadCMake-ce0f575473fa46fb732089390be4e89498a914d1.zip
CMake-ce0f575473fa46fb732089390be4e89498a914d1.tar.gz
CMake-ce0f575473fa46fb732089390be4e89498a914d1.tar.bz2
ENH: Make message(SEND_ERROR) report context.
-rw-r--r--Source/cmMessageCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMessageCommand.cxx b/Source/cmMessageCommand.cxx
index 26d9012..a6f5808 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
{