Rob Mathews wrote:
That's easy. In CMake.cxx, in or around line 2310-2317
/*
I don't need this and CMake can't find it (even though I installed
correctly).
if (!cmSystemTools::FileExists(this->CPackCommand.c_str()))
{
cmSystemTools::Error("Cannot find the CPack executable");
this->CPackCommand = "CPACK-COMMAND-NOT-FOUND";
}
*/
I've read what CPack does, and our development environment has a
different way of doing that, so I don't need it and don't want to force
all of our developers to install it.
Hence the comment. And I can tell from the code that isn't a switch to
turn it off.
OK, then, I would say that it was not installed correctly or the sources
have been modified in some way that breaks this. If you build stock
CMake, I have never seen it not find cpack. On the other hand, since
cpack/cmake/ctest are meant to be a family of tools, it is unlikely that
this change will make it into the CVS for CMake. As, not having it when
it is supposed to be there is a symptom of some other problem.
-Bill
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake