Added in version 3.1.
Finds the Apache Xerces-C++ validating XML parser headers and libraries.
This module defines the following Imported Targets:
XercesC::XercesCAdded in version 3.5.
Target encapsulating the Xerces-C++ library (xerces-c) usage requirements,
available only if Xerces-C++ is found.
This module defines the following variables:
XercesC_FOUNDBoolean indicating whether the Xerces-C++ is found.
XercesC_VERSIONThe version of the found Xerces-C++ library.
XercesC_INCLUDE_DIRSInclude directories needed to use Xerces-C++.
XercesC_LIBRARIESLibraries needed to link for using Xerces-C++.
XercesC_LIBRARYThe path to the Xerces-C++ library (xerces-c), either release or debug
variant.
The following cache variables may also be set:
XercesC_INCLUDE_DIRThe directory containing the Xerces-C++ headers.
XercesC_LIBRARY_RELEASEAdded in version 3.4.
The path to a release (optimized) variant of the Xerces-C++ library.
XercesC_LIBRARY_DEBUGAdded in version 3.4.
The path to a debug variant of the Xerces-C++ library.
Finding the Xerces-C++ library and linking it to a project target:
find_package(XercesC)
target_link_libraries(project_target PRIVATE XercesC::XercesC)