Bläddra i källkod

ENH: Improve formatting of include command error message.

Brad King 17 år sedan
förälder
incheckning
959bd61e37
1 ändrade filer med 3 tillägg och 1 borttagningar
  1. 3 1
      Source/cmIncludeCommand.cxx

+ 3 - 1
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;