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?