docs: Add snippet for zlib system dependency

pull/6421/head
Dylan Baker 5 years ago
parent b495d4ba22
commit e728331cc8
  1. 8
      docs/markdown/snippets/zlib_system_dependency.md

@ -0,0 +1,8 @@
## Add a system type dependency for zlib
This allows zlib to be detected on macOS and FreeBSD without the use of
pkg-config or cmake, neither of which are part of the base install on those
OSes (but zlib is).
A side effect of this change is that `dependency('zlib')` also works with
cmake instead of requiring `dependency('ZLIB')`.
Loading…
Cancel
Save