From fd8236c86227fe96b0f52268deae9f9aecda2690 Mon Sep 17 00:00:00 2001 From: Brad King Date: Sat, 2 Sep 2006 10:51:54 -0400 Subject: [PATCH] BUG: Patch from Alex to fix name of includecache files to not look like source files. --- Source/cmLocalUnixMakefileGenerator3.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx index 6be42b47a..3c2f1491f 100644 --- a/Source/cmLocalUnixMakefileGenerator3.cxx +++ b/Source/cmLocalUnixMakefileGenerator3.cxx @@ -1316,8 +1316,9 @@ bool cmLocalUnixMakefileGenerator3::ScanDependencies(const char* tgtInfo) if(lang == "C" || lang == "CXX" || lang == "RC") { std::string includeCacheFileName = dir; - includeCacheFileName += "/includecache."; + includeCacheFileName += "/"; includeCacheFileName += lang; + includeCacheFileName += ".includecache"; // TODO: Handle RC (resource files) dependencies correctly. scanner = new cmDependsC(includes,