Procházet zdrojové kódy

BUG: Produce an error when the script is not found

Andy Cedilnik před 19 roky
rodič
revize
726c267f99
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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());
     if (!lg->GetMakefile()->ReadListFile(0, path))
       {
-      std::cerr << "Error processing file:" << path << "\n";
+      cmSystemTools::Error("Error processing file:", path);
       }
     }