[3party] Do not link harfbuzz via freetype.

Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
This commit is contained in:
Viktor Govako 2022-02-12 14:27:36 +03:00 committed by Alexander Borsuk
parent 85d6ee3be4
commit 081ae222b7

View file

@ -1,3 +1,5 @@
set(FT_DISABLE_HARFBUZZ ON)
add_subdirectory(freetype)
# Use ft2build.h from the current directory instead of the default.
@ -6,4 +8,5 @@ target_include_directories(freetype
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
$<INSTALL_INTERFACE:include/freetype2>
)
add_library(Freetype::Freetype ALIAS freetype)