rpmbuild cmake macro not honoring arch prefix
Kevin Kofler
kevin.kofler at chello.at
Sat Jan 17 22:32:16 UTC 2009
Michael Cronenworth wrote:
> I made a spec for libwebcam[1] and as it uses cmake instead of autotools
> for makefile generation, I thought I should use the %cmake macro to
> properly setup directory prefixes and such on my 64-bit host machine.
> When I read the build output it shows to be calling cmake with
> appropriate -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib64 and friends, but when
> a "make install" is performed the library gets placed in /usr/lib.
This is an issue with libwebcam's CMakeLists.txt files, it must be
hardcoding "lib" instead of using any of the definitions we set in
the %cmake macro.
Kevin Kofler
More information about the fedora-list
mailing list