CMake zstd (and friends) compression options
Coming from [1] there seems to be an error with parsing the zstd library version (or does it explicitly need the static zstd library?). I'd like to request having toggles (like -DHEPMC3_COMPRESS_{ZLIB,...}
) for enabling/disabling the different compression algorithms since automagic dependencies are a pain (see [2]). Or do such options exist and I just did not find them?
-- Found zstd: /usr/lib/libzstd.so (Required is at least version "1.4.0")
-- Could NOT find zstd (missing: zstd_STATIC_LIBRARY) (found suitable version "1.5.6", minimum required is "1.4.0")
[1] https://bugs.gentoo.org/937356
[2] https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Automagic_dependencies