BUG: Patch from Alex to fix name of includecache files to not look like source files.

This commit is contained in:
Brad King 2006-09-02 10:51:54 -04:00
parent 6b9c463ddf
commit fd8236c862
1 changed files with 2 additions and 1 deletions

View File

@ -1316,8 +1316,9 @@ bool cmLocalUnixMakefileGenerator3::ScanDependencies(const char* tgtInfo)
if(lang == "C" || lang == "CXX" || lang == "RC") if(lang == "C" || lang == "CXX" || lang == "RC")
{ {
std::string includeCacheFileName = dir; std::string includeCacheFileName = dir;
includeCacheFileName += "/includecache."; includeCacheFileName += "/";
includeCacheFileName += lang; includeCacheFileName += lang;
includeCacheFileName += ".includecache";
// TODO: Handle RC (resource files) dependencies correctly. // TODO: Handle RC (resource files) dependencies correctly.
scanner = new cmDependsC(includes, scanner = new cmDependsC(includes,