ENH: Unknown command invocations should be fatal errors.

This commit is contained in:
Brad King 2006-06-15 10:24:46 -04:00
parent b4542762a7
commit 640c90f068
1 changed files with 1 additions and 0 deletions

View File

@ -327,6 +327,7 @@ bool cmMakefile::ExecuteCommand(const cmListFileFunction& lff)
<< "Unknown CMake command \"" << lff.Name.c_str() << "\".";
cmSystemTools::Error(error.str().c_str());
result = false;
cmSystemTools::SetFatalErrorOccured();
}
}