FindZLIB: also search for pkg-config
Modules/FindZLIB.cmake
will attempt to find zlib
in various paths but won't attempt to use pkg-config
, which zlib
provides by default and I believe would be the most straightforward method to locate zlib
on a given system.
I do not know if there is any reason not to use pkg-config
, but I believe it would make things a lot more standard.