summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2007-02-22 09:10:37 -0500
committerAndy Cedilnik <andy.cedilnik@kitware.com>2007-02-22 09:10:37 -0500
commit726c267f99ec9355172e43d1d6a7a0ea39a65e0b (patch)
treeb5a8a0f46ad5676fb0b7a43d0670118bb7ca8ebd
parent1db4c0e5241113f7bf79f195418f8e7a6b25570f (diff)
downloadcmake-726c267f99ec9355172e43d1d6a7a0ea39a65e0b.tar.gz
BUG: Produce an error when the script is not found
-rw-r--r--Source/cmake.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 7edf2eabae..d1cb7169e9 100644
--- a/Source/cmake.cxx
+++ b/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);
}
}