summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2005-10-10 15:49:17 (GMT)
committerKen Martin <ken.martin@kitware.com>2005-10-10 15:49:17 (GMT)
commit345fb993aa1808cbb34136c20ab878c6330c4f77 (patch)
tree6903ce233b76f38da756439664b672d63667cdb4 /Source/cmMakefile.cxx
parent63185c1388f76dace825ed46decbeccc3626e956 (diff)
downloadCMake-345fb993aa1808cbb34136c20ab878c6330c4f77.zip
CMake-345fb993aa1808cbb34136c20ab878c6330c4f77.tar.gz
CMake-345fb993aa1808cbb34136c20ab878c6330c4f77.tar.bz2
ENH: some fixes for better backwards compatibility
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx3
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);