diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-07-25 15:52:10 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-07-27 18:09:38 (GMT) |
commit | d568eefe104e480706a2e6ceb16df4376d4becbf (patch) | |
tree | 60aee888508ff833db298c7d9ed7fdeee2cfe89b /Source/cmVisualStudio10TargetGenerator.cxx | |
parent | 26d1a9d356ad3122f7d07dcd93d12767726807cf (diff) | |
download | CMake-d568eefe104e480706a2e6ceb16df4376d4becbf.zip CMake-d568eefe104e480706a2e6ceb16df4376d4becbf.tar.gz CMake-d568eefe104e480706a2e6ceb16df4376d4becbf.tar.bz2 |
cmCustomCommandGenerator: Require cmLocalGenerator in API.
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index 67d52b8..71785e9 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -890,7 +890,7 @@ cmVisualStudio10TargetGenerator::WriteCustomRule(cmSourceFile const* source, i = this->Configurations.begin(); i != this->Configurations.end(); ++i) { - cmCustomCommandGenerator ccg(command, *i, this->Makefile); + cmCustomCommandGenerator ccg(command, *i, this->LocalGenerator); std::string comment = lg->ConstructComment(ccg); comment = cmVS10EscapeComment(comment); std::string script = @@ -2794,7 +2794,7 @@ void cmVisualStudio10TargetGenerator::WriteEvent( for(std::vector<cmCustomCommand>::const_iterator i = commands.begin(); i != commands.end(); ++i) { - cmCustomCommandGenerator ccg(*i, configName, this->Makefile); + cmCustomCommandGenerator ccg(*i, configName, this->LocalGenerator); comment += pre; comment += lg->ConstructComment(ccg); script += pre; |