Exiv2/exiv2

ZLIB Missing Warning When PNG is Disabled

HTRamsey opened this issue · 3 comments

There is one spot that references ZLIB even when PNG is disabled that results in a warning due to zlib not being found. This line should be guarded by a if statement for if png is enabled.

target_include_directories(exiv2lib_int PRIVATE ${ZLIB_INCLUDE_DIR})

Thanks for spotting this! Would you be able to submit a PR fixing this as well?

Yeah I just moved it to the PNG check guard. Hopefully that's fine

Great, thank you!