diff --git a/Source/CPack/cpack.cxx b/Source/CPack/cpack.cxx index ba91a089c..330d61f19 100644 --- a/Source/CPack/cpack.cxx +++ b/Source/CPack/cpack.cxx @@ -382,7 +382,7 @@ int main (int argc, char *argv[]) << gen << std::endl); parsed = 0; } - if ( parsed && !cpackGenerator->Initialize(gen, mf, argv[0]) ) + if ( parsed && !cpackGenerator->Initialize(gen, mf) ) { cmCPack_Log(&log, cmCPackLog::LOG_ERROR, "Cannot initialize the generator " << gen << std::endl);