Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use path join operator for includedir and libdir in cmake config
When includedir or libdir are set to an absolute path, the previous code appends that absolute path to ${prefix}, which results in a wrong path. The right behavior would be in this case to drop ${prefix} and just use the absolute path. This is an issue in nixpkgs, where includedir is set to the final (absolute) path of the built library in the Nix store. See NixOS/nixpkgs#180054.
- Loading branch information