FindFreetype¶
Find the FreeType font renderer includes and library.
Imported Targets¶
Added in version 3.10.
This module defines the following IMPORTED target:
Freetype::FreetypeThe Freetype
freetypelibrary, if found
Result Variables¶
This module will set the following variables in your project:
FREETYPE_FOUNDtrue if the Freetype headers and libraries were found
FREETYPE_INCLUDE_DIRSdirectories containing the Freetype headers. This is the concatenation of the variables:
FREETYPE_INCLUDE_DIR_ft2builddirectory holding the main Freetype API configuration header
FREETYPE_INCLUDE_DIR_freetype2directory holding Freetype public headers
FREETYPE_LIBRARIESthe library to link against
FREETYPE_VERSION_STRINGthe version of freetype found
Added in version 3.7: Debug and Release variants are found separately.
Hints¶
The user may set the environment variable FREETYPE_DIR to the root
directory of a Freetype installation.