"git@developer.sourcefind.cn:OpenDAS/dgl.git" did not exist on "8e71b64e2af321361217a621a89fb923ea0f984d"
Pull in external libpng dependencies properly (#770)
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.
Showing
Please register or sign in to comment