diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2020-01-07 10:51:45 -0800 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2020-01-31 09:28:56 -0800 |
commit | e728331cc8bd48f318e5371b4eb61f2caf1940b2 (patch) | |
tree | e19aaf01c7b07a038a0d2a60831e4f69b26f3249 /docs/markdown | |
parent | b495d4ba22888c973163dc4688d5b51ee690a7c5 (diff) | |
download | meson-e728331cc8bd48f318e5371b4eb61f2caf1940b2.zip meson-e728331cc8bd48f318e5371b4eb61f2caf1940b2.tar.gz meson-e728331cc8bd48f318e5371b4eb61f2caf1940b2.tar.bz2 |
docs: Add snippet for zlib system dependency
Diffstat (limited to 'docs/markdown')
-rw-r--r-- | docs/markdown/snippets/zlib_system_dependency.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/markdown/snippets/zlib_system_dependency.md b/docs/markdown/snippets/zlib_system_dependency.md new file mode 100644 index 0000000..5bdabf3 --- /dev/null +++ b/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')`. |