summaryrefslogtreecommitdiff
path: root/Source/cmIncludeCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-03-08 09:27:44 -0500
committerBrad King <brad.king@kitware.com>2008-03-08 09:27:44 -0500
commit959bd61e3771ef362c2f8fc8e2ce5c8cecdb0fc2 (patch)
tree0f610c40813635984fde99ca2e1f085d559da33e /Source/cmIncludeCommand.cxx
parentb2d7a839a41e5bb922dded739cb17669ca8c5701 (diff)
downloadcmake-959bd61e3771ef362c2f8fc8e2ce5c8cecdb0fc2.tar.gz
ENH: Improve formatting of include command error message.
Diffstat (limited to 'Source/cmIncludeCommand.cxx')
-rw-r--r--Source/cmIncludeCommand.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmIncludeCommand.cxx b/Source/cmIncludeCommand.cxx
index 2e85b24047..f8d6dc23ee 100644
--- a/Source/cmIncludeCommand.cxx
+++ b/Source/cmIncludeCommand.cxx
@@ -95,7 +95,9 @@ bool cmIncludeCommand
if(!optional && !readit && !cmSystemTools::GetFatalErrorOccured())
{
- std::string m = "Could not find include file: ";
+ std::string m =
+ "could not find load file:\n"
+ " ";
m += fname;
this->SetError(m.c_str());
return false;