FindAVIFile — CMake 4.1.1 Documentation

# FindAVIFile

Finds AVIFile library and include paths.

AVIFile is a set of libraries for i386 machines to use various AVI codecs. Support is limited beyond Linux. Windows provides native AVI support, and so doesn't need this library.

## Result Variables

This module defines the following variables:

`AVIFile_FOUND`

  True if AVIFile is found. For backward compatibility, the `AVIFILE_FOUND` variable is also set to the same value.

`AVIFILE_LIBRARIES`

  The libraries to link against.

`AVIFILE_DEFINITIONS`

  Definitions to use when compiling.

## Cache Variables

The following cache variables may be also set:

`AVIFILE_INCLUDE_DIR`

  Directory containing `avifile.h` and other AVIFile headers.

## Examples

Finding AVIFile:

    find_package(AVIFile)