FindFontconfig

Find Fontconfig headers and library.

Imported Targets

Fontconfig::Fontconfig
The Fontconfig library, if found.

Result Variables

This will define the following variables in your project:

FONTCONFIG_FOUND
true if (the requested version of) Fontconfig is available.
FONTCONFIG_VERSION
the version of Fontconfig.
FONTCONFIG_LIBRARIES
the libraries to link against to use Fontconfig.
FONTCONFIG_INCLUDE_DIRS
where to find the Fontconfig headers.
FONTCONFIG_COMPILE_OPTIONS
this should be passed to target_compile_options(), if the target is not used for linking