mirror of
https://github.com/google/brotli.git
synced 2024-11-21 19:20:09 +00:00
restore BROTLI_VERSION var in CMake build
PiperOrigin-RevId: 552507047
This commit is contained in:
parent
d639a81d35
commit
257884a3c5
@ -61,6 +61,7 @@ endfunction(read_macro)
|
||||
read_macro("c/common/version.h" "BROTLI_VERSION_MAJOR" BROTLI_VERSION_MAJOR)
|
||||
read_macro("c/common/version.h" "BROTLI_VERSION_MINOR" BROTLI_VERSION_MINOR)
|
||||
read_macro("c/common/version.h" "BROTLI_VERSION_PATCH" BROTLI_VERSION_PATCH)
|
||||
set(BROTLI_VERSION "${BROTLI_VERSION_MAJOR}.${BROTLI_VERSION_MINOR}.${BROTLI_VERSION_PATCH}")
|
||||
mark_as_advanced(BROTLI_VERSION BROTLI_VERSION_MAJOR BROTLI_VERSION_MINOR BROTLI_VERSION_PATCH)
|
||||
|
||||
# ABI Version information
|
||||
|
Loading…
Reference in New Issue
Block a user