]> git.ipfire.org Git - thirdparty/zlib-ng.git/commit
Only read version information from zlib.h.in
authorLetu Ren <fantasquex@gmail.com>
Sun, 17 Dec 2023 16:58:38 +0000 (00:58 +0800)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Thu, 21 Dec 2023 00:44:40 +0000 (01:44 +0100)
commita6127381acc568de1b1f7a3e33290be2a82fa7f5
tree84d4b072fb08281df003b108fd4db18c0b7ccaad
parent6e4b8b194b409bc776abbbfc819ce7b5980956fb
Only read version information from zlib.h.in

This is a patch for https://github.com/zlib-ng/zlib-ng/commit/cd458c79c7923e76ffdd0e2638bf2a0eed4f3996
As the commit message says: "Add code to extract version information
for both ZLIB and ZLIBNG variants from the zlib.h file."

The logic of ${SUFFIX} is that zlib-ng reads version information after
parse ZLIB_COMPAT before the commit mentioned above. ${SUFFIX} will only
be set by ZLIB_COMPAT and is meaningless before ZLIB_COMPAT.
CMakeLists.txt