Using Cmake in a package...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?
--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux