I'm trying to build an rpm of OpenGTL, with no success. I added 'set(CPACK_GENERATOR "TGZ;RPM")' and 'include(CPack)' to the CMakeLists.txt, but when I try to build the RPM, it wants to write to /usr (ah, shouldn't rpm building NOT need to install first?!), and if I run it as root, it installs but yields an empty rpm.

Please help me figure out why it isn't working!

OpenGTL: http://opengtl.org/Download.html

--
Matthew
I don't see what C++ has to do with keeping people from shooting themselves in the foot. C++ will happily load the gun, offer you a drink to steady your nerves, and help you aim. -- Peter da Silva (from cluefire.net)

_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to