summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.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/cmGlobalXCodeGenerator.cxx
parent26d1a9d356ad3122f7d07dcd93d12767726807cf (diff)
downloadCMake-d568eefe104e480706a2e6ceb16df4376d4becbf.zip
CMake-d568eefe104e480706a2e6ceb16df4376d4becbf.tar.gz
CMake-d568eefe104e480706a2e6ceb16df4376d4becbf.tar.bz2
cmCustomCommandGenerator: Require cmLocalGenerator in API.
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index 21075bb..6e46bc0 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -1668,7 +1668,7 @@ void cmGlobalXCodeGenerator
for(std::vector<cmCustomCommand>::const_iterator i = commands.begin();
i != commands.end(); ++i)
{
- cmCustomCommandGenerator ccg(*i, configName, this->CurrentMakefile);
+ cmCustomCommandGenerator ccg(*i, configName, this->CurrentLocalGenerator);
if(ccg.GetNumberOfCommands() > 0)
{
const std::vector<std::string>& outputs = ccg.GetOutputs();
@@ -1694,7 +1694,7 @@ void cmGlobalXCodeGenerator
for(std::vector<cmCustomCommand>::const_iterator i = commands.begin();
i != commands.end(); ++i)
{
- cmCustomCommandGenerator ccg(*i, configName, this->CurrentMakefile);
+ cmCustomCommandGenerator ccg(*i, configName, this->CurrentLocalGenerator);
if(ccg.GetNumberOfCommands() > 0)
{
makefileStream << "\n";