summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileUtilityTargetGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-09 20:19:57 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-17 15:30:38 (GMT)
commit3e8ef6427393546c77da1b74234311d3b60edd98 (patch)
treedc1463cfd39c1eac2d292700794ac2a32fe54f2b /Source/cmMakefileUtilityTargetGenerator.cxx
parentcfb2f7508af637c9c35758fbd5dac6c8cb679bdb (diff)
downloadCMake-3e8ef6427393546c77da1b74234311d3b60edd98.zip
CMake-3e8ef6427393546c77da1b74234311d3b60edd98.tar.gz
CMake-3e8ef6427393546c77da1b74234311d3b60edd98.tar.bz2
cmLocalGenerator: Port some API to cmGeneratorTarget.
Diffstat (limited to 'Source/cmMakefileUtilityTargetGenerator.cxx')
-rw-r--r--Source/cmMakefileUtilityTargetGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmMakefileUtilityTargetGenerator.cxx b/Source/cmMakefileUtilityTargetGenerator.cxx
index 18594bb..11601c5 100644
--- a/Source/cmMakefileUtilityTargetGenerator.cxx
+++ b/Source/cmMakefileUtilityTargetGenerator.cxx
@@ -74,13 +74,13 @@ void cmMakefileUtilityTargetGenerator::WriteRuleFiles()
(depends, this->Target->GetPostBuildCommands());
this->LocalGenerator->AppendCustomCommands
- (commands, this->Target->GetPreBuildCommands(), this->Target);
+ (commands, this->Target->GetPreBuildCommands(), this->GeneratorTarget);
// Depend on all custom command outputs for sources
this->DriveCustomCommands(depends);
this->LocalGenerator->AppendCustomCommands
- (commands, this->Target->GetPostBuildCommands(), this->Target);
+ (commands, this->Target->GetPostBuildCommands(), this->GeneratorTarget);
// Add dependencies on targets that must be built first.
this->AppendTargetDepends(depends);