BUG: Prevent crash when no input file or generator specified

This commit is contained in:
Andy Cedilnik 2006-07-27 11:26:47 -04:00
parent 4a60db1184
commit 15ddcb424f

View File

@ -306,7 +306,7 @@ int main (int argc, char *argv[])
{
cmCPack_Log(&log, cmCPackLog::LOG_ERROR,
"CPack generator not specified" << std::endl);
parsed = 0;
return 1;
}
std::vector<std::string> generatorsVector;
cmSystemTools::ExpandListArgument(genList,