FindLibLZMA¶
Find LZMA compression algorithm headers and library.
Imported Targets¶
New in version 3.14.
This module defines IMPORTED target LibLZMA::LibLZMA, if
liblzma has been found.
Result variables¶
This module will set the following variables in your project:
LIBLZMA_FOUNDTrue if liblzma headers and library were found.
LIBLZMA_INCLUDE_DIRSDirectory where liblzma headers are located.
LIBLZMA_LIBRARIESLzma libraries to link against.
LIBLZMA_HAS_AUTO_DECODERTrue if lzma_auto_decoder() is found (required).
LIBLZMA_HAS_EASY_ENCODERTrue if lzma_easy_encoder() is found (required).
LIBLZMA_HAS_LZMA_PRESETTrue if lzma_lzma_preset() is found (required).
LIBLZMA_VERSION_MAJORThe major version of lzma
LIBLZMA_VERSION_MINORThe minor version of lzma
LIBLZMA_VERSION_PATCHThe patch version of lzma
LIBLZMA_VERSION_STRINGversion number as a string (ex: "5.0.3")