gdraheim / zziplib

The ZZIPlib provides read access on ZIP-archives and unpacked data. It features an additional simplified API following the standard Posix API for file access
Other
60 stars 50 forks source link

CMakeLists.txt: enable ZZIP_LIBLATEST only in Release mode #131

Closed ffontaine closed 5 months ago

ffontaine commented 2 years ago

Enable ZZIP_LIBLATEST only in Release mode to avoid the following build failure raised since commit 0e8d35f92efb680c81f6ec1fca9f11d173dce389 and c835ad662a91b3df041a2144e11f932cfa4f98b4 because RELEASE_POSTFIX will be empty if CMAKE_BUILD_TYPE is set to Debug resulting in the symlinks overriding the libraries:

make[3]: stat: zzip/libzzipfseeko.a: Too many levels of symbolic links
make[3]: *** No rule to make target 'zzip/libzzipfseeko.a', needed by 'bins/unzzip-big'.  Stop.

Fixes:

Signed-off-by: Fabrice Fontaine fontaine.fabrice@gmail.com

ffontaine commented 8 months ago

Do you have some comments on this PR?