[harfbuzz] Change glib dependency back to platform-dependent

This commit is contained in:
Robert Schumacher 2017-06-06 11:12:25 -07:00
parent 4c33195759
commit 79fcaafd0c
2 changed files with 4 additions and 4 deletions

View File

@ -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]

View File

@ -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(