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

Add CMake option LZ4_BUILD_CLI #919

Merged
merged 1 commit into from Sep 23, 2020
Merged

Add CMake option LZ4_BUILD_CLI #919

merged 1 commit into from Sep 23, 2020

Conversation

attilaolah
Copy link
Contributor

Defaults to ON so nothing changes, but it can be set to OFF so that the CLI is not built at all, only the library, i.e. like so:

$ cmake -DLZ4_BUILD_CLI:BOOL=OFF

This is useful in combination with -DLZ4_BUILD_LEGACY_LZ4C:BOOL=OFF for builds where only the library is needed.

Defaults to ON so nothing changes, but it can be set to OFF so that the
CLI is not built at all, only the library.
attilaolah pushed a commit to attilaolah/wasm that referenced this pull request Sep 23, 2020
Add an option to avoid building binaries. This works around the failure
of incorrectly trying to symlink `lz4cat` and `unlz4` when the binary
suffix is specified (e.g. `.js` when building with Emscripten.)

Import backported modified patch from
lz4/lz4#919.
@Cyan4973
Copy link
Member

Looks good !

@Cyan4973 Cyan4973 merged commit 20856da into lz4:dev Sep 23, 2020
@attilaolah attilaolah deleted the cli branch September 24, 2020 14:40
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.

None yet

2 participants