Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMake: Separate symlinks creation and installation #1395

Merged
merged 1 commit into from
May 9, 2024

Conversation

ur4t
Copy link
Contributor

@ur4t ur4t commented Apr 28, 2024

When preforming cmake --install $build_dir --prefix $dest_dir without setting CMAKE_INSTALL_PREFIX in advance, symlinks are created directly at default CMAKE_INSTALL_PREFIX locations, which is not the expected behaviour when $dest_dir is not consistent with CMAKE_INSTALL_PREFIX.

This PR fixes the problem by separating symlink creation and installation, which is a common pattern used by xz and zstd.

@Cyan4973 Cyan4973 self-assigned this May 9, 2024
@Cyan4973 Cyan4973 merged commit f8df9dd into lz4:dev May 9, 2024
65 checks passed
@ur4t ur4t deleted the fix-cli-symlinks branch July 17, 2024 02:26
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