vcpkg/ports/ebml/portfile.cmake
Steve Lhomme dafff8267e
[ebml] update to 1.4.4 and enable UWP builds (#30750)
* [ebml] update to 1.4.4

The limits patch has been applied in 1.4.3:
f0bfd53647

* [ebml] enable UWP builds

This has been used in VLC for years. There was a build issue with file access
but it's no longer build by default

05bc5c0902
2023-04-10 19:28:13 -07:00

22 lines
630 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Matroska-Org/libebml
REF release-1.4.4
SHA512 4a7926f56de211b8431105e37045a13d5e0576151326c87bc3168821c10342acee2aa6447438296f1d56893b3ebbc60851cb0c310f5561127612f0cd2477743f
HEAD_REF master
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS -DDISABLE_PKGCONFIG=1
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/EBML)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
# Handle copyright
file(INSTALL "${SOURCE_PATH}/LICENSE.LGPL" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)