BUG: Dependency scanners should have local generators set always.

This commit is contained in:
Brad King 2007-10-12 09:32:48 -04:00
parent 7fb4397f3c
commit 9f1eea193e
1 changed files with 1 additions and 1 deletions

View File

@ -1347,7 +1347,6 @@ bool cmLocalUnixMakefileGenerator3::ScanDependencies(const char* tgtInfo)
includeRegexScan.c_str(),
includeRegexComplain.c_str(),
includeCacheFileName);
scanner->SetLocalGenerator(this);
}
#ifdef CMAKE_BUILD_WITH_CMAKE
else if(lang == "Fortran")
@ -1362,6 +1361,7 @@ bool cmLocalUnixMakefileGenerator3::ScanDependencies(const char* tgtInfo)
if (scanner)
{
scanner->SetLocalGenerator(this);
scanner->SetFileComparison
(this->GlobalGenerator->GetCMakeInstance()->GetFileComparison());
// for each file we need to scan