FindFontconfig — Extra CMake Modules 5.73.0 documentation

# FindFontconfig

Try to find Fontconfig. Once done this will define the following variables:

`Fontconfig_FOUND`
  True if Fontconfig is available
`Fontconfig_INCLUDE_DIRS`
  The include directory to use for the Fontconfig headers
`Fontconfig_LIBRARIES`
  The Fontconfig libraries for linking
`Fontconfig_DEFINITIONS`
  Compiler switches required for using Fontconfig
`Fontconfig_VERSION`
  The version of Fontconfig that has been found

If `Fontconfig_FOUND` is TRUE, it will also define the following imported target:

`Fontconfig::Fontconfig`

Since 5.57.0.