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

View File

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