mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 03:10:57 +08:00
[harfbuzz] Change glib dependency back to platform-dependent
This commit is contained in:
parent
4c33195759
commit
79fcaafd0c
@ -1,4 +1,4 @@
|
||||
Source: harfbuzz
|
||||
Version: 1.4.6-1
|
||||
Description: HarfBuzz OpenType text shaping engine
|
||||
Build-Depends: freetype, glib [x86], glib [x64]
|
||||
Build-Depends: freetype, glib [windows]
|
||||
|
@ -12,12 +12,12 @@ vcpkg_apply_patches(
|
||||
PATCHES "${CMAKE_CURRENT_LIST_DIR}/0001-fix-uwp-build.patch"
|
||||
)
|
||||
|
||||
if(VCPKG_TARGET_ARCHITECTURE STREQUAL "arm")
|
||||
if(VCPKG_TARGET_ARCHITECTURE STREQUAL "arm" OR VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
|
||||
SET(HAVE_GLIB "OFF")
|
||||
SET(BUILTIN_UCDN "ON")
|
||||
SET(BUILTIN_UCDN "ON")
|
||||
else()
|
||||
SET(HAVE_GLIB "ON")
|
||||
SET(BUILTIN_UCDN "OFF")
|
||||
SET(BUILTIN_UCDN "OFF")
|
||||
endif()
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
|
Loading…
x
Reference in New Issue
Block a user