From 2a335ae7487cfb54f518a116fc92ac55f58eee6a Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Thu, 20 Apr 2006 21:54:35 -0400 Subject: [PATCH] ENH: ignore all files that we do not know about just like in ide generators --- Source/cmMakefileTargetGenerator.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx index f114b73f9b..a73213a9dc 100644 --- a/Source/cmMakefileTargetGenerator.cxx +++ b/Source/cmMakefileTargetGenerator.cxx @@ -245,9 +245,7 @@ void cmMakefileTargetGenerator::WriteObjectRuleFiles(cmSourceFile& source) const char* lang = this->LocalGenerator->GetSourceFileLanguage(source); if(!lang) { - // If language is not known, this is an error. - cmSystemTools::Error("Source file \"", source.GetFullPath().c_str(), - "\" has unknown type."); + // don't know anything about this file so skip it return; }