Parcourir la source

BUG: Produce an error when the script is not found

Andy Cedilnik il y a 18 ans
Parent
commit
726c267f99
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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);
       }
     }