瀏覽代碼

BUG: Produce an error when the script is not found

Andy Cedilnik 18 年之前
父節點
當前提交
726c267f99
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);
       }
     }