AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2021.03.06 22:15 "[Tiff] Libdeflate not found ?", by Miguel Medalha
2021.03.06 22:31 "Re: [Tiff] Libdeflate not found ?", by Roger Leigh
2021.03.06 22:59 "Re: [Tiff] Libdeflate not found ?", by Miguel Medalha
2021.03.06 23:17 "Re: [Tiff] Libdeflate not found ?", by Miguel Medalha
2021.03.07 14:34 "Re: [Tiff] Libdeflate not found ?", by Roger Leigh
2021.03.07 15:44 "Re: [Tiff] Libdeflate not found ?", by Miguel Medalha
2021.03.07 15:48 "Re: [Tiff] Libdeflate not found ?", by Roger Leigh

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.