diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2008-07-30 19:18:19 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2008-07-30 19:18:19 (GMT) |
commit | beeebcdc407eda8d29ff342f1570af4740e600ee (patch) | |
tree | 8b80fa575acbdc938185de141cd7d7cd39197912 /Source/cmGlobalGenerator.cxx | |
parent | b2f041f6a899b2592477c98da0d060cc7c983a91 (diff) | |
download | CMake-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.cxx | 2 |
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 { |