Skip to content

CMakeLists.txt: fix absolute path#374

Merged
mdadams merged 1 commit intojasper-software:masterfrom
wegank:cmake-absolute-fix
Mar 11, 2024
Merged

CMakeLists.txt: fix absolute path#374
mdadams merged 1 commit intojasper-software:masterfrom
wegank:cmake-absolute-fix

Conversation

@wegank
Copy link
Contributor

@wegank wegank commented Mar 11, 2024

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

@mdadams mdadams merged commit 477f281 into jasper-software:master Mar 11, 2024
@wegank wegank deleted the cmake-absolute-fix branch March 11, 2024 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants