Version header is not exported #413

Closed
opened 2026-01-29 20:43:28 +00:00 by claunia · 2 comments
Owner

Originally created by @tawmoto on GitHub (Feb 17, 2022).

Hi,
I am using Brotli as a static library, which I store it on Artifactory. When I download it from Artifactory via CMake, I need to find its version, but it seems that I cannot, because the version header is not exported. The only exported headers are decode.h, encode.h, types.h and port.h

https://github.com/google/brotli/blob/master/c/common/version.h#L17

Is there any way to read the version from the "package" via CMake?
Thanks

Originally created by @tawmoto on GitHub (Feb 17, 2022). Hi, I am using Brotli as a static library, which I store it on Artifactory. When I download it from Artifactory via CMake, I need to find its version, but it seems that I cannot, because the version header is not exported. The only exported headers are `decode.h, encode.h, types.h and port.h` https://github.com/google/brotli/blob/master/c/common/version.h#L17 Is there any way to read the version from the "package" via CMake? Thanks
Author
Owner

@znzjugod commented on GitHub (Aug 26, 2022):

try to add version.h in brotli/c/include/brotli

@znzjugod commented on GitHub (Aug 26, 2022): try to add version.h in brotli/c/include/brotli
Author
Owner

@eustas commented on GitHub (Jan 6, 2023):

Dupe of #773

@eustas commented on GitHub (Jan 6, 2023): Dupe of #773
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#413