[CMake] CPack : RPM : architecture in the name

Alexander Neundorf a.neundorf-work at gmx.net
Thu Mar 15 15:36:54 EDT 2012


On Thursday 15 March 2012, Barth wrote:
> Dear all,
> 
> I found a mail in the archives discussing the naming of RPMs (30 dec.
> 2009). Indeed, a standard RPM name contains the architecture and not
> "Linux".
> 
> I am wondering if it is possible to do it now ? I use CMake 2.8.6. I still
> get an error when setting CPACK_RPM_PACKAGE_ARCHITECTURE but is there
> another way to achieve this ?

I append the architecture string simply to CPACK_SYSTEM_NAME. Not sure whether 
there is a better way.

Alex


More information about the CMake mailing list