Explorar el Código

ENH: add better error message

Bill Hoffman hace 24 años
padre
commit
3bc0c4469c
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      Source/cmSystemTools.cxx

+ 2 - 1
Source/cmSystemTools.cxx

@@ -888,7 +888,8 @@ void cmSystemTools::SplitProgramPath(const char* in_name,
     std::string oldDir = in_name;
     cmSystemTools::ConvertToUnixSlashes(oldDir);
     cmSystemTools::Error("Error splitting file name off end of path:\n",
-                         oldDir.c_str());
+                         oldDir.c_str(), "\nDirectory not found: ", 
+                         dir.c_str());
     dir = in_name;
     return;
     }