BUG: Produce an error when the script is not found
This commit is contained in:
parent
1db4c0e524
commit
726c267f99
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user