Browse Source

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

Bill Hoffman 17 years ago
parent
commit
beeebcdc40
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/cmGlobalGenerator.cxx

+ 1 - 1
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
     {