lz4 icon indicating copy to clipboard operation
lz4 copied to clipboard

CMake: Separate symlinks creation and installation

Open ur4t opened this issue 10 months ago • 0 comments

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.

ur4t avatar Apr 28 '24 09:04 ur4t