diff options
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index beb1ef1..dcab4cb 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -701,7 +701,8 @@ void cmMakefile::AddUtilityCommand(const char* utilityName, bool all, cmTarget target; target.SetType(cmTarget::UTILITY, utilityName); target.SetInAll(all); - + target.SetMakefile(this); + // Store the custom command in the target. cmCustomCommand cc(output, depends, commandLines, 0); target.GetPostBuildCommands().push_back(cc); |