mirror of
https://github.com/reactos/CMake.git
synced 2025-01-10 21:52:37 +00:00
BUG: Prevent crash when no input file or generator specified
This commit is contained in:
parent
4a60db1184
commit
15ddcb424f
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user