Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkg-config: fix double prefixed libdir= and includedir=
According to [1], CMAKE_INSTALL_<DIR> variables are allowed to be either relative or absolute. This means one should never prefix to them, in case they are already absolute. Use CMAKE_INSTALL_FULL_<DIR> instead, to not end up with double prefix when the build system uses absolute paths. This patch fixes broken rdma-core *.pc files in https://github.com/nixos/nixpkgs. [1] https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com>
- Loading branch information