Find libpng, the official reference library for the PNG image format.
This module defines the following IMPORTED
target:
PNG::PNG
This module will set the following variables in your project:
PNG_INCLUDE_DIRS
PNG_LIBRARIES
PNG_DEFINITIONS
PNG_FOUND
PNG_VERSION_STRING
The following variables may also be set, for backwards compatibility:
PNG_LIBRARY
PNG_INCLUDE_DIR
Since PNG depends on the ZLib compression library, none of the above will be defined unless ZLib can be found.
© 2000–2016 Kitware, Inc.
© 2000–2011 Insight Software Consortium
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.7/module/FindPNG.html