mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 13:57:29 +08:00
Add graphite2 support for harfbuzz. (#4097)
This commit is contained in:
parent
b509ceb48d
commit
57a4b8b8e3
@ -4,6 +4,10 @@ Description: HarfBuzz OpenType text shaping engine
|
||||
Build-Depends: freetype, ragel
|
||||
Default-Features: ucdn
|
||||
|
||||
Feature: graphite2
|
||||
Build-Depends: graphite2
|
||||
Description: Graphite2 shaper support
|
||||
|
||||
Feature: icu
|
||||
Build-Depends: icu
|
||||
Description: icu support for harfbuzz
|
||||
|
@ -21,6 +21,11 @@ if("icu" IN_LIST FEATURES)
|
||||
SET(HB_HAVE_ICU "ON")
|
||||
endif()
|
||||
|
||||
SET(HB_HAVE_GRAPHITE2 "OFF")
|
||||
if("graphite2" IN_LIST FEATURES)
|
||||
SET(HB_HAVE_GRAPHITE2 "ON")
|
||||
endif()
|
||||
|
||||
## Unicode callbacks
|
||||
|
||||
# Builtin (UCDN)
|
||||
@ -48,6 +53,7 @@ vcpkg_configure_cmake(
|
||||
-DHB_BUILTIN_UCDN=${BUILTIN_UCDN}
|
||||
-DHB_HAVE_ICU=${HB_HAVE_ICU}
|
||||
-DHB_HAVE_GLIB=${HAVE_GLIB}
|
||||
-DHB_HAVE_GRAPHITE2=${HB_HAVE_GRAPHITE2}
|
||||
OPTIONS_DEBUG
|
||||
-DSKIP_INSTALL_HEADERS=ON
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user