summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-07-25 15:52:10 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-07-27 18:09:38 (GMT)
commitd568eefe104e480706a2e6ceb16df4376d4becbf (patch)
tree60aee888508ff833db298c7d9ed7fdeee2cfe89b /Source/cmGeneratorTarget.cxx
parent26d1a9d356ad3122f7d07dcd93d12767726807cf (diff)
downloadCMake-d568eefe104e480706a2e6ceb16df4376d4becbf.zip
CMake-d568eefe104e480706a2e6ceb16df4376d4becbf.tar.gz
CMake-d568eefe104e480706a2e6ceb16df4376d4becbf.tar.bz2
cmCustomCommandGenerator: Require cmLocalGenerator in API.
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
-rw-r--r--Source/cmGeneratorTarget.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx
index e6f7a43..dc5a2a1 100644
--- a/Source/cmGeneratorTarget.cxx
+++ b/Source/cmGeneratorTarget.cxx
@@ -938,7 +938,8 @@ void cmTargetTraceDependencies::FollowCommandDepends(cmCustomCommand const& cc,
const std::string& config,
std::set<std::string>& emitted)
{
- cmCustomCommandGenerator ccg(cc, config, this->Makefile);
+ cmCustomCommandGenerator ccg(cc, config,
+ this->GeneratorTarget->LocalGenerator);
const std::vector<std::string>& depends = ccg.GetDepends();