ソースを参照

ENH: Unknown command invocations should be fatal errors.

Brad King 19 年 前
コミット
640c90f068
1 ファイル変更1 行追加0 行削除
  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();
       }
     }