• ipeterson's avatar
    Pull in external libpng dependencies properly (#770) · faa75fa9
    ipeterson authored
    PNG_LIBRARY set by libpng's FindPNG.cmake does not contain zlib dependancy.  This causes the CHECK_FUNCTION_EXISTS(png_create_read_struct LIBPNG_IS_GOOD) to fail with liner errors, and for dlib to use it's internal copy of PNG.
    
    Updated to use libpng's PNG_LIBRARIES variable.  This also sets both PNG and ZLib libraries in dlib_needed_libraries.
    faa75fa9
Name
Last commit
Last update
dlib Loading commit data...
docs Loading commit data...
examples Loading commit data...
python_examples Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
.travis.yml Loading commit data...
CMakeLists.txt Loading commit data...
MANIFEST.in Loading commit data...
README.md Loading commit data...
appveyor.yml Loading commit data...
setup.py Loading commit data...