Find the FreeType font renderer includes and library.
Added in version 3.10.
This module defines the following IMPORTED target:
Freetype::Freetype The Freetype freetype library, if found
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
Added in version 3.7: Debug and Release variants are found separately.
The user may set the environment variable FREETYPE_DIR to the root directory of a Freetype installation.
© 2000–2024 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/latest/module/FindFreetype.html