Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only prepend $prefix for relative paths
In cases where CMAKE_INSTALL_LIBDIR is already an absolut path adding a $prefix will be incorrect. See also issue on nix pkgs: NixOS/nixpkgs#144170 And current workaround: https://github.com/NixOS/nixpkgs/blob/7eee17a8a5868ecf596bbb8c8beb527253ea8f4d/pkgs/development/libraries/magic-enum/default.nix#L21
- Loading branch information