summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator3.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-09-02 14:51:54 (GMT)
committerBrad King <brad.king@kitware.com>2006-09-02 14:51:54 (GMT)
commitfd8236c86227fe96b0f52268deae9f9aecda2690 (patch)
treec91794cd74c3d8c1263da2fc031da9a6ce02424b /Source/cmLocalUnixMakefileGenerator3.cxx
parent6b9c463ddfbabdb2733159c9cb005a29bc6b14f1 (diff)
downloadCMake-fd8236c86227fe96b0f52268deae9f9aecda2690.zip
CMake-fd8236c86227fe96b0f52268deae9f9aecda2690.tar.gz
CMake-fd8236c86227fe96b0f52268deae9f9aecda2690.tar.bz2
BUG: Patch from Alex to fix name of includecache files to not look like source files.
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index 6be42b4..3c2f149 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,