mirror of
https://github.com/reactos/CMake.git
synced 2024-11-30 23:10:26 +00:00
ENH: ignore all files that we do not know about just like in ide generators
This commit is contained in:
parent
03cee03f67
commit
2a335ae748
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user