[liblzma] Fix for UWP build (#5607)

This commit is contained in:
myd7349 2019-03-29 05:38:44 +08:00 committed by Phil Christensen
parent f59ebe9102
commit 2665f91cd9
2 changed files with 3 additions and 6 deletions

View File

@ -1,3 +1,3 @@
Source: liblzma
Version: 5.2.4
Version: 5.2.4-1
Description: Compression library with an API similar to that of zlib.

View File

@ -6,11 +6,8 @@ vcpkg_from_github(
REF v5.2.4
SHA512 fce7dc65e77a9b89dbdd6192cb37efc39e3f2cf343f79b54d2dfcd845025dab0e1d5b0f59c264eab04e5cbaf914eeb4818d14cdaac3ae0c1c5de24418656a4b7
HEAD_REF master
)
vcpkg_apply_patches(
SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/v5.2.3-b3437cea7b
PATCHES "${CMAKE_CURRENT_LIST_DIR}/enable-uwp-builds.patch"
PATCHES
enable-uwp-builds.patch
)
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})