# FindXercesC

Added in version 3.1.

Find the Apache Xerces-C++ validating XML parser headers and libraries.

## Imported Targets

Added in version 3.5.

This module defines the following `IMPORTED` targets:

`XercesC::XercesC`

  The Xerces-C++ `xerces-c` library, if found.

## Result variables

This module will set the following variables in your project:

`XercesC_FOUND`

  true if the Xerces headers and libraries were found

`XercesC_VERSION`

  Xerces release version

`XercesC_INCLUDE_DIRS`

  the directory containing the Xerces headers

`XercesC_LIBRARIES`

  Xerces libraries to be linked

## Cache variables

The following cache variables may also be set:

`XercesC_INCLUDE_DIR`

  the directory containing the Xerces headers

`XercesC_LIBRARY`

  the Xerces library

Added in version 3.4: Debug and Release variants are found separately.