diff --git a/Source/cmLocalUnixMakefileGenerator2.cxx b/Source/cmLocalUnixMakefileGenerator2.cxx index e2b59afba..bf1733e58 100644 --- a/Source/cmLocalUnixMakefileGenerator2.cxx +++ b/Source/cmLocalUnixMakefileGenerator2.cxx @@ -2128,8 +2128,9 @@ cmLocalUnixMakefileGenerator2 // Dispatch the scan for each language. std::string const& lang = args[2]; - if(lang == "C" || lang == "CXX") + if(lang == "C" || lang == "CXX" || lang == "RC") { + // TODO: Handle RC (resource files) dependencies correctly. return cmLocalUnixMakefileGenerator2::ScanDependenciesC(objFile, srcFile, includes); }