summaryrefslogtreecommitdiffstats
path: root/Source/cmIncludeCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-03-08 14:27:44 (GMT)
committerBrad King <brad.king@kitware.com>2008-03-08 14:27:44 (GMT)
commit959bd61e3771ef362c2f8fc8e2ce5c8cecdb0fc2 (patch)
tree0f610c40813635984fde99ca2e1f085d559da33e /Source/cmIncludeCommand.cxx
parentb2d7a839a41e5bb922dded739cb17669ca8c5701 (diff)
downloadCMake-959bd61e3771ef362c2f8fc8e2ce5c8cecdb0fc2.zip
CMake-959bd61e3771ef362c2f8fc8e2ce5c8cecdb0fc2.tar.gz
CMake-959bd61e3771ef362c2f8fc8e2ce5c8cecdb0fc2.tar.bz2
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 2e85b24..f8d6dc2 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;