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

norulez norulez at me.com
Thu Jul 22 02:18:31 EDT 2010


This shouldn't work, because you could build deb packages on redhat systems with cpack without any deb tools installed

Am 22.07.2010 um 08:02 schrieb Rolf Eike Beer <eike at sf-mail.de>:

> Am Thursday 22 July 2010 schrieb Freddie Witherden:
> 
>> I wish to know how I can have CMake/CPack determine if it is possible to
>> build an RPM or DEB package on the system (so if all the required
>> utilities are installed) and if so to go ahead and package them.
> 
> FIND_PROGRAM(rpmbuild) or things like that?
> 
> Eike
> _______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake


More information about the CMake mailing list