By default, on Windows, CPACK_GENERATOR is set to "NSIS;ZIP". You can do this...: SET(CPACK_GENERATOR "NSIS")
...prior to INCLUDE(CPack) ...if you are only interested in the NSIS installer. If you install the WinZip command line tools, CPack will find that and additionally make a zip file of the "make install" tree in addition to building the NSIS installer. According to this thread: http://public.kitware.com/pipermail/cmake/2007-June/014690.html the 7-Zip zip program should also work if you are using CVS CMake. (The 7-Zip support is not in CMake 2.4.x) HTH, David On 11/15/07, Stephen Collyer <[EMAIL PROTECTED]> wrote: > > I'm trying to build the generated PACKAGE project from Visual Studio > after adding INCLUDE(CPack) line to my CMakeLists.txt file, and it > fails at some point with the message: > > "cannot find suitable ZIP program" > > Can someone tell me what's generating this message (NSIS maybe ?), and > which zip program it wants ? > > -- > Regards > > Steve Collyer > Netspinner Ltd > _______________________________________________ > CMake mailing list > CMake@cmake.org > http://www.cmake.org/mailman/listinfo/cmake >
_______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake