[Fedora-packaging] Using Cmake in a package...

Darryl Pierce mcpierce at fedoraproject.org
Thu Jul 5 19:17:48 UTC 2012


I'm trying to convert our package (qpid-cpp) from using autotools to Cmake
in our package. The project has supported both build environments as part
of our transition, and we're ready to eliminate autotools entirely now.

However, when I build using the following:

%build
mkdir cmake
pushd cmake
%cmake ../cpp # using the %cmake macro
make %{?_smp_mflags}
popd

the build consistently fails at the exact same point. But if I use:

%build
mkdir cmake
pushd cmake
cmake ../cpp
make %{?_smp_mflags}
popd

then the build finishes correctly. Is there a decent, updated guide for
building packages with Cmake?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/packaging/attachments/20120705/c7e42153/attachment.html>


More information about the packaging mailing list