mirror of
https://github.com/google/brotli.git
synced 2026-07-08 17:56:58 +00:00
Please make BROTLI_VERSION public #291
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lemzwerg on GitHub (Sep 5, 2019).
At least two reasons.
decode.handencode.hboth refer toBROTLI_VERSION.FindBrotli.cmakecould easily return a version number in environments wherepkg-configis not available.@eustas commented on GitHub (Jan 28, 2020):
Version is intentionally "runtime only" to avoid compile-time dependency, that would be a perfect way to shoot one's foot.
If absolutely necessary, there is an easy way to get the version with CMake -
try_runa tiny program that just dumps version to stdout.