BUG: Dependency scanners should have local generators set always.
This commit is contained in:
parent
7fb4397f3c
commit
9f1eea193e
|
@ -1347,7 +1347,6 @@ bool cmLocalUnixMakefileGenerator3::ScanDependencies(const char* tgtInfo)
|
||||||
includeRegexScan.c_str(),
|
includeRegexScan.c_str(),
|
||||||
includeRegexComplain.c_str(),
|
includeRegexComplain.c_str(),
|
||||||
includeCacheFileName);
|
includeCacheFileName);
|
||||||
scanner->SetLocalGenerator(this);
|
|
||||||
}
|
}
|
||||||
#ifdef CMAKE_BUILD_WITH_CMAKE
|
#ifdef CMAKE_BUILD_WITH_CMAKE
|
||||||
else if(lang == "Fortran")
|
else if(lang == "Fortran")
|
||||||
|
@ -1362,6 +1361,7 @@ bool cmLocalUnixMakefileGenerator3::ScanDependencies(const char* tgtInfo)
|
||||||
|
|
||||||
if (scanner)
|
if (scanner)
|
||||||
{
|
{
|
||||||
|
scanner->SetLocalGenerator(this);
|
||||||
scanner->SetFileComparison
|
scanner->SetFileComparison
|
||||||
(this->GlobalGenerator->GetCMakeInstance()->GetFileComparison());
|
(this->GlobalGenerator->GetCMakeInstance()->GetFileComparison());
|
||||||
// for each file we need to scan
|
// for each file we need to scan
|
||||||
|
|
Loading…
Reference in New Issue