Skip to content

Conversation

@jamesdolan
Copy link

Fixes support for -DBASISU_ZSTD=OFF, which is useful for projects where assets already have compression applied to them to avoid redundancy (or in web deployments where server typically compresses binary files already). This was broken it seems with basisu_astc_ldr_encode.cpp unconditionally including zstd where previously only KTX2 code paths conditionally included it.

Also treat zstd as a separate libraries (encoder and decoder-only variants) with its own include path vs hard-coded relative path. This makes it easier for dependent projects to use their own version of zstd to avoids conflicts.

@richgel999
Copy link
Contributor

Thanks - the Zstd local vs. system problem is the next thing we're addressing.

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