BUG: fix for bug 7427, preinstall target name hard coded

This commit is contained in:
Bill Hoffman 2008-07-30 15:18:19 -04:00
parent b2f041f6a8
commit beeebcdc40
1 changed files with 1 additions and 1 deletions

View File

@ -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
{