summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-05-03 09:31:46 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-05-03 09:41:59 (GMT)
commit040491fc586d34fe467907eefc85b1524c7cea1e (patch)
treeb66fbb67251dc16ec7337a2da08ab40fbfb9dfa8 /Source
parent0bb6dbe0c62f027af394f680f644041cfad7321f (diff)
downloadCMake-040491fc586d34fe467907eefc85b1524c7cea1e.zip
CMake-040491fc586d34fe467907eefc85b1524c7cea1e.tar.gz
CMake-040491fc586d34fe467907eefc85b1524c7cea1e.tar.bz2
cmComputeLinkDepends: Remove unused local generator.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmComputeLinkDepends.cxx4
-rw-r--r--Source/cmComputeLinkDepends.h2
2 files changed, 1 insertions, 5 deletions
diff --git a/Source/cmComputeLinkDepends.cxx b/Source/cmComputeLinkDepends.cxx
index 6005d5f..abd9877 100644
--- a/Source/cmComputeLinkDepends.cxx
+++ b/Source/cmComputeLinkDepends.cxx
@@ -13,7 +13,6 @@
#include "cmComputeComponentGraph.h"
#include "cmGlobalGenerator.h"
-#include "cmLocalGenerator.h"
#include "cmMakefile.h"
#include "cmTarget.h"
#include "cmake.h"
@@ -179,8 +178,7 @@ cmComputeLinkDepends
// Store context information.
this->Target = target;
this->Makefile = this->Target->GetMakefile();
- this->LocalGenerator = this->Makefile->GetLocalGenerator();
- this->GlobalGenerator = this->LocalGenerator->GetGlobalGenerator();
+ this->GlobalGenerator = this->Makefile->GetGlobalGenerator();
this->CMakeInstance = this->GlobalGenerator->GetCMakeInstance();
// The configuration being linked.
diff --git a/Source/cmComputeLinkDepends.h b/Source/cmComputeLinkDepends.h
index a931726..09b9d70 100644
--- a/Source/cmComputeLinkDepends.h
+++ b/Source/cmComputeLinkDepends.h
@@ -21,7 +21,6 @@
class cmComputeComponentGraph;
class cmGlobalGenerator;
-class cmLocalGenerator;
class cmMakefile;
class cmTarget;
class cmake;
@@ -60,7 +59,6 @@ private:
// Context information.
cmTarget const* Target;
cmMakefile* Makefile;
- cmLocalGenerator* LocalGenerator;
cmGlobalGenerator const* GlobalGenerator;
cmake* CMakeInstance;
bool DebugMode;