FindEXPAT — CMake 3.26.3 Documentation

# FindEXPAT

Find the native Expat headers and library. Expat is a stream-oriented XML parser library written in C.

## Imported Targets

New in version 3.10.

This module defines the following `IMPORTED` targets:

`EXPAT::EXPAT`

  The Expat `expat` library, if found.

## Result Variables

This module will set the following variables in your project:

`EXPAT_INCLUDE_DIRS`

  where to find expat.h, etc.

`EXPAT_LIBRARIES`

  the libraries to link against to use Expat.

`EXPAT_FOUND`

  true if the Expat headers and libraries were found.