I am trying to integrate LZMA2 functionality into LibTIFF (https://gitlab.com/libtiff/libtiff) using CMake. Without it LibTIFF will complain when running cmake:
-- LZMA2 support: ON (requested) FALSE (availability)
The CMakeLists.txt of LibTIFF tests existence of LZMA2 library using CMake's own script in Modules\FindLibLZMA.cmake. This file tries to check the existence of lzma.h to decide the include directory:
But I could not find lzma.h anywhere in the downloaded source package from here. Also the lzma.lib and liblzma.lib do not exist either in output folder of fast-lzma2 after I successfully built it, which are to be linked to LibTIFF. So how to integrate Fast LZMA2 into LibTIFF using CMake? Thanks.
I am trying to integrate LZMA2 functionality into LibTIFF (https://gitlab.com/libtiff/libtiff) using CMake. Without it LibTIFF will complain when running cmake:
The CMakeLists.txt of LibTIFF tests existence of LZMA2 library using CMake's own script in Modules\FindLibLZMA.cmake. This file tries to check the existence of
lzma.h
to decide the include directory:But I could not find
lzma.h
anywhere in the downloaded source package from here. Also the lzma.lib and liblzma.lib do not exist either in output folder of fast-lzma2 after I successfully built it, which are to be linked to LibTIFF. So how to integrate Fast LZMA2 into LibTIFF using CMake? Thanks.My environment: