[cmake-commits] king committed cmLocalUnixMakefileGenerator3.cxx 1.216 1.217

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Oct 12 09:32:50 EDT 2007


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv22460

Modified Files:
	cmLocalUnixMakefileGenerator3.cxx 
Log Message:
BUG: Dependency scanners should have local generators set always.


Index: cmLocalUnixMakefileGenerator3.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmLocalUnixMakefileGenerator3.cxx,v
retrieving revision 1.216
retrieving revision 1.217
diff -u -d -r1.216 -r1.217
--- cmLocalUnixMakefileGenerator3.cxx	14 Aug 2007 15:45:14 -0000	1.216
+++ cmLocalUnixMakefileGenerator3.cxx	12 Oct 2007 13:32:48 -0000	1.217
@@ -1347,7 +1347,6 @@
                                includeRegexScan.c_str(),
                                includeRegexComplain.c_str(),
                                includeCacheFileName);
-      scanner->SetLocalGenerator(this);
       }
 #ifdef CMAKE_BUILD_WITH_CMAKE
     else if(lang == "Fortran")
@@ -1362,6 +1361,7 @@
     
     if (scanner)
       {
+      scanner->SetLocalGenerator(this);
       scanner->SetFileComparison
         (this->GlobalGenerator->GetCMakeInstance()->GetFileComparison());
       // for each file we need to scan



More information about the Cmake-commits mailing list