summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-07-30 19:18:19 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-07-30 19:18:19 (GMT)
commitbeeebcdc407eda8d29ff342f1570af4740e600ee (patch)
tree8b80fa575acbdc938185de141cd7d7cd39197912 /Source/cmGlobalGenerator.cxx
parentb2f041f6a899b2592477c98da0d060cc7c983a91 (diff)
downloadCMake-beeebcdc407eda8d29ff342f1570af4740e600ee.zip
CMake-beeebcdc407eda8d29ff342f1570af4740e600ee.tar.gz
CMake-beeebcdc407eda8d29ff342f1570af4740e600ee.tar.bz2
BUG: fix for bug 7427, preinstall target name hard coded
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r--Source/cmGlobalGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index 83733bf..cf4abdd 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
{