Re: [CMake] rpmbuild architecture

2013-04-05 Thread Eric Noulard
2013/4/5 > I'm trying to build an i686 RPM package on a x86_64 Linux machine. > > I have a set(CPACK_RPM_PACKAGE_ARCHITECTURE i686) > but I get an error at CPack time: > error: No compatible architectures found for build > > I can get it to work if I also use setarch when calling rpmbuild giving

[CMake] rpmbuild architecture

2013-04-05 Thread clinton
I'm trying to build an i686 RPM package on a x86_64 Linux machine. I have a set(CPACK_RPM_PACKAGE_ARCHITECTURE i686) but I get an error at CPack time: error: No compatible architectures found for build I can get it to work if I also use setarch when calling rpmbuild giving it the CPack gener