Ver código fonte

ENH: Unknown command invocations should be fatal errors.

Brad King 19 anos atrás
pai
commit
640c90f068
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      Source/cmMakefile.cxx

+ 1 - 0
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();
       }
     }