summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-10-12 13:32:48 (GMT)
committerBrad King <brad.king@kitware.com>2007-10-12 13:32:48 (GMT)
commit9f1eea193ec103041dbf3cf2159eb1ff847e554e (patch)
tree25c41513bd0abeb6f65d6533e8f49049e173b6c7
parent7fb4397f3cc1ade0f1320e2182b1fd01306ece34 (diff)
downloadCMake-9f1eea193ec103041dbf3cf2159eb1ff847e554e.zip
CMake-9f1eea193ec103041dbf3cf2159eb1ff847e554e.tar.gz
CMake-9f1eea193ec103041dbf3cf2159eb1ff847e554e.tar.bz2
BUG: Dependency scanners should have local generators set always.
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index e9a24c7..285b2d1 100644
--- a/Source/cmLocalUnixMakefileGenerator3.cxx
+++ b/Source/cmLocalUnixMakefileGenerator3.cxx
@@ -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