diff options
| -rw-r--r-- | ports/harfbuzz/CONTROL | 2 | ||||
| -rw-r--r-- | ports/harfbuzz/portfile.cmake | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ports/harfbuzz/CONTROL b/ports/harfbuzz/CONTROL index cff52498a..5ed9e68b8 100644 --- a/ports/harfbuzz/CONTROL +++ b/ports/harfbuzz/CONTROL @@ -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] diff --git a/ports/harfbuzz/portfile.cmake b/ports/harfbuzz/portfile.cmake index 367d12246..798743d45 100644 --- a/ports/harfbuzz/portfile.cmake +++ b/ports/harfbuzz/portfile.cmake @@ -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( |
