FindLibArchive — CMake 3.24.2 Documentation

# FindLibArchive

Find libarchive library and headers. Libarchive is multi-format archive and compression library.

The module defines the following variables:

    LibArchive_FOUND        - true if libarchive was found
    LibArchive_INCLUDE_DIRS - include search path
    LibArchive_LIBRARIES    - libraries to link
    LibArchive_VERSION      - libarchive 3-component version number

The module defines the following `IMPORTED` targets:

    LibArchive::LibArchive  - target for linking against libarchive

New in version 3.6: Support for new libarchive 3.2 version string format.