summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/CPack/cpack.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CPack/cpack.cxx b/Source/CPack/cpack.cxx
index ba91a08..330d61f 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);