On this page
FindFreetype
Find the FreeType font renderer includes and library.
Imported Targets
New in version 3.10.
This module defines the following IMPORTED target:
Freetype::Freetype-
The Freetype
freetypelibrary, if found
Result Variables
This module will set the following variables in your project:
FREETYPE_FOUND-
true if the Freetype headers and libraries were found
FREETYPE_INCLUDE_DIRS-
directories containing the Freetype headers. This is the concatenation of the variables:
FREETYPE_INCLUDE_DIR_ft2build-
directory holding the main Freetype API configuration header
FREETYPE_INCLUDE_DIR_freetype2-
directory holding Freetype public headers
FREETYPE_LIBRARIES-
the library to link against
FREETYPE_VERSION_STRING-
the version of freetype found
New 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.
© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.21/module/FindFreetype.html