ENH: Unknown command invocations should be fatal errors.
This commit is contained in:
parent
b4542762a7
commit
640c90f068
@ -327,6 +327,7 @@ bool cmMakefile::ExecuteCommand(const cmListFileFunction& lff)
|
|||||||
<< "Unknown CMake command \"" << lff.Name.c_str() << "\".";
|
<< "Unknown CMake command \"" << lff.Name.c_str() << "\".";
|
||||||
cmSystemTools::Error(error.str().c_str());
|
cmSystemTools::Error(error.str().c_str());
|
||||||
result = false;
|
result = false;
|
||||||
|
cmSystemTools::SetFatalErrorOccured();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user