2 if (LIBPNG_LIBRARIES AND LIBPNG_INCLUDE_DIRS)
3 set (LibPng_FIND_QUIETLY TRUE)
4 endif (LIBPNG_LIBRARIES AND LIBPNG_INCLUDE_DIRS)
6 find_path(LIBPNG_INCLUDE_DIRS NAMES png.h)
7 find_library(LIBPNG_LIBRARIES NAMES png)
9 include (FindPackageHandleStandardArgs)
10 FIND_PACKAGE_HANDLE_STANDARD_ARGS(LibPng DEFAULT_MSG
14 mark_as_advanced(LIBPNG_INCLUDE_DIRS LIBPNG_LIBRARIES)