summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator2.cxx')
-rw-r--r--Source/cmLocalUnixMakefileGenerator2.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator2.cxx b/Source/cmLocalUnixMakefileGenerator2.cxx
index e2b59af..bf1733e 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);
}