Explorar el Código

BUG: Produce an error when the script is not found

Andy Cedilnik hace 19 años
padre
commit
726c267f99
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Source/cmake.cxx

+ 1 - 1
Source/cmake.cxx

@@ -377,7 +377,7 @@ void cmake::ReadListFile(const char *path)
       (cmSystemTools::GetCurrentWorkingDirectory().c_str());
       (cmSystemTools::GetCurrentWorkingDirectory().c_str());
     if (!lg->GetMakefile()->ReadListFile(0, path))
     if (!lg->GetMakefile()->ReadListFile(0, path))
       {
       {
-      std::cerr << "Error processing file:" << path << "\n";
+      cmSystemTools::Error("Error processing file:", path);
       }
       }
     }
     }