On Wed, Feb 03, 2021 at 06:53:19PM +0100, Daniel Vetter wrote: > > > rdma-core uses cmake build system and in our case cmake > > > find_library() is preferable over pkgconfig. > > > > Only the headers are needed, and they could be installed via > > either the libdrm-devel package or the kernel-headers package. The > > cmake find_path() command is more suitable here. > > Except if your distro is buggy (or doesn't support any gpu drivers at > all) they will never be installed as part of kernel-headers. pkgconfig is OK, we use it for libnl for similar reasons, I just don't like it to see it used gratuitously as it can cause more problems than it solves Jason _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel