BUG: WIN32_EXECUTABLE targets were not being installed on unix properly. They are supposed to be treated just like any other EXECUTABLE target.

This commit is contained in:
Brad King 2001-06-12 08:31:33 -04:00
parent 0929dbbacf
commit 522ff0204a
1 changed files with 4 additions and 0 deletions

View File

@ -901,6 +901,7 @@ void cmUnixMakefileGenerator::OutputInstallRules(std::ostream& fout)
} }
fout << " " << prefix << l->second.GetInstallPath() << "\n"; fout << " " << prefix << l->second.GetInstallPath() << "\n";
break; break;
case cmTarget::WIN32_EXECUTABLE:
case cmTarget::EXECUTABLE: case cmTarget::EXECUTABLE:
fout << "\t$(INSTALL_PROGRAM) " << l->first fout << "\t$(INSTALL_PROGRAM) " << l->first
<< " " << prefix << l->second.GetInstallPath() << "\n"; << " " << prefix << l->second.GetInstallPath() << "\n";
@ -925,6 +926,9 @@ void cmUnixMakefileGenerator::OutputInstallRules(std::ostream& fout)
} }
} }
break; break;
case cmTarget::UTILITY:
default:
break;
} }
} }
} }