From beeebcdc407eda8d29ff342f1570af4740e600ee Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Wed, 30 Jul 2008 15:18:19 -0400 Subject: [PATCH] BUG: fix for bug 7427, preinstall target name hard coded --- Source/cmGlobalGenerator.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index 83733bfdc..cf4abdd5e 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -1565,7 +1565,7 @@ void cmGlobalGenerator::CreateDefaultGlobalTargets(cmTargets* targets) cpackCommandLines.push_back(singleLine); if ( this->GetPreinstallTargetName() ) { - depends.push_back("preinstall"); + depends.push_back(this->GetPreinstallTargetName()); } else {