FindLibArchive — CMake 3.30.1 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

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

Added in version 3.17: Provides an imported target.