# PNGdec 1.0.1 (Larry Bank) copiado sin modificaciones desde ~/Arduino/libraries/PNGdec/src
idf_component_register(SRCS "PNGdec.cpp" "adler32.c" "crc32.c" "infback.c" "inffast.c" "inflate.c" "inftrees.c" "zutil.c"
                       INCLUDE_DIRS ".")
# __LINUX__ hace que PNGdec.h use stdlib/string/stdio en vez de <Arduino.h>
target_compile_definitions(${COMPONENT_LIB} PUBLIC __LINUX__)
target_compile_options(${COMPONENT_LIB} PRIVATE -w)
