jasper-software / jasper

Official Repository for the JasPer Image Coding Toolkit
http://www.ece.uvic.ca/~mdadams/jasper
Other
223 stars 101 forks source link

CMakeLists.txt: fix absolute path #374

Closed wegank closed 6 months ago

wegank commented 6 months ago

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