I&#39;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&#39;re ready to eliminate autotools entirely now.<div>
<br></div><div>However, when I build using the following:</div><div><br></div><div><div>%build</div><div>mkdir cmake</div><div>pushd cmake</div><div>%cmake ../cpp # using the %cmake macro</div><div>make %{?_smp_mflags}</div>
<div>popd</div><div><br></div></div><div>the build consistently fails at the exact same point. But if I use:</div><div><br></div><div><div>%build</div><div>mkdir cmake</div><div>pushd cmake</div><div>cmake ../cpp</div><div>
make %{?_smp_mflags}</div><div>popd</div><div><br></div></div><div>then the build finishes correctly. Is there a decent, updated guide for building packages with Cmake?</div>