[libpng17] Add pngchunk.h dependency and remove some redundant

dependencies from CMakeLists.txt
This commit is contained in:
Glenn Randers-Pehrson 2016-01-30 09:44:44 -06:00
parent a8b45d9f7e
commit 0b073f4a4d

View File

@ -333,6 +333,7 @@ set(libpng_private_hdrs
pnginfo.h pnginfo.h
pngstruct.h pngstruct.h
"${CMAKE_CURRENT_BINARY_DIR}/pnglibconf.h" "${CMAKE_CURRENT_BINARY_DIR}/pnglibconf.h"
pngchunk.h
) )
if(AWK) if(AWK)
list(APPEND libpng_private_hdrs "${CMAKE_CURRENT_BINARY_DIR}/pngprefix.h") list(APPEND libpng_private_hdrs "${CMAKE_CURRENT_BINARY_DIR}/pngprefix.h")
@ -340,10 +341,6 @@ endif()
set(libpng_sources set(libpng_sources
${libpng_public_hdrs} ${libpng_public_hdrs}
${libpng_private_hdrs} ${libpng_private_hdrs}
pngdebug.h
pnginfo.h
pngpriv.h
pngstruct.h
png.c png.c
pngerror.c pngerror.c
pngget.c pngget.c