2021.03.06 22:15 "[Tiff] Libdeflate not found ?", by Miguel Medalha

2021.03.06 23:17 "Re: [Tiff] Libdeflate not found ?", by Miguel Medalha

Looks like we have two issues here:

1 – libdeflate is automatically found if renamed to ‘deflate.lib’ only. This was previously dealt with by this code in CMakeTexts.txt:

# libdeflate 
(…) 
set(DEFLATE_NAMES ${DEFLATE_NAMES} deflate libdeflate libdeflatestatic)

Please note that the default Windows build for the released deflate library produces “libdeflatestatic.lib”.

2 – Specifying the location manually only works with “-DDeflate_LIBRARY” (lowercase). This goes against all other cases, including “-DDEFLATE_INCLUDE_DIR”, which still works in uppercase. This is not consistent.