[CMake] CPack: Detecting if to build DEB/RPM packages

Rolf Eike Beer eike at sf-mail.de
Thu Jul 22 02:27:50 EDT 2010


Am Thursday 22 July 2010 schrieb norulez:
> This shouldn't work, because you could build deb packages on redhat systems
> with cpack without any deb tools installed

Well, in that case you don't need to search for anything debian-like and can 
always use that generator. Then you only need to check for rpmbuild ;)

Eike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100722/102ba074/attachment.pgp>


More information about the CMake mailing list