summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-06-15 14:24:46 (GMT)
committerBrad King <brad.king@kitware.com>2006-06-15 14:24:46 (GMT)
commit640c90f06854191ff858aad85150ffac03d4dcf2 (patch)
treeb8407eb621badcf59886ea2199eab038ee00cc3b /Source/cmMakefile.cxx
parentb4542762a77c7fa7848a3ac8e85cf42c05bc73a9 (diff)
downloadCMake-640c90f06854191ff858aad85150ffac03d4dcf2.zip
CMake-640c90f06854191ff858aad85150ffac03d4dcf2.tar.gz
CMake-640c90f06854191ff858aad85150ffac03d4dcf2.tar.bz2
ENH: Unknown command invocations should be fatal errors.
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index fe0c39b..92215b9 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -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();
}
}