diff options
author | Thomas Sondergaard <thomas@sondergaard.cc> | 2022-06-23 08:51:50 +0200 |
---|---|---|
committer | Werner Lemberg <wl@gnu.org> | 2022-07-03 06:48:15 +0200 |
commit | 55a97b0cb133b7a5dc28dfabec77a1b9f742c301 (patch) | |
tree | 1cd6d3e8fdd7cc662d8d8f284a6b887387b63b19 /README.git | |
parent | 31005d98a43803d161773193286d0c34d78f4fea (diff) | |
download | freetype2-55a97b0cb133b7a5dc28dfabec77a1b9f742c301.tar.gz |
CMakeLists.txt: Provide both 'freetype' and 'Freetype::Freetype' targets.
FreeType can be located by consuming projects that use
`find_package(Freetype)` either via the old `MODULE` path (which uses
`FindFreetype.cmake` supplied by CMake), or via the new `CONFIG` path (which
uses `freetype-config.cmake` as supplied by this project). Up to this point
the CMake module has supplied the target `Freetype::Freetype` and the config
file provided by this project the target `freetype`. Now we supply both
`freetype` and `Freetype::Freetype` so that consuming projects can always
use the target `Freetype::Freetype` regardless of what path was taken by
`find_package(Freetype)`.
Fixes #1165.
Diffstat (limited to 'README.git')
0 files changed, 0 insertions, 0 deletions