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.

Hints

EXPAT_USE_STATIC_LIBS

New in version 3.28.

Set to TRUE to use static libraries.

New in version 3.31: Implemented on non-Windows platforms.