This PR replaces ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR} with ${CMAKE_INSTALL_FULL_LIBDIR}, as the latter is more standard, and the former could actually result in wrong paths (see this).
The issue is observed in Nixpkgs, where an output separation doesn't pass cyclic output detection on macOS: NixOS/nixpkgs#293480
This PR replaces
${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}
with${CMAKE_INSTALL_FULL_LIBDIR}
, as the latter is more standard, and the former could actually result in wrong paths (see this).The issue is observed in Nixpkgs, where an output separation doesn't pass cyclic output detection on macOS: NixOS/nixpkgs#293480