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

© 2000–2020 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.15/module/FindFontconfig.html