mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-17 20:50:43 -06:00
ENH: Improve formatting of include command error message.
This commit is contained in:
@@ -95,7 +95,9 @@ bool cmIncludeCommand
|
||||
|
||||
if(!optional && !readit && !cmSystemTools::GetFatalErrorOccured())
|
||||
{
|
||||
std::string m = "Could not find include file: ";
|
||||
std::string m =
|
||||
"could not find load file:\n"
|
||||
" ";
|
||||
m += fname;
|
||||
this->SetError(m.c_str());
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user