mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-02 10:29:03 +08:00
b91728fe5f
* [matroska] update to 1.7.1 * [matroska] enable UWP builds This has been used in VLC for years. There was a build issue with file access in the "ebml" dependencies. But it should be fixed by https://github.com/microsoft/vcpkg/pull/30750
23 lines
647 B
CMake
23 lines
647 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO Matroska-Org/libmatroska
|
|
REF release-1.7.1
|
|
SHA512 abb4fb4b527266944b1a59516866462498675c5e71bb679758894dff6156169d7132dddaa2e2ef6187a6dbce4a4aa377eeb75dd869268fd44933c769b34be5b9
|
|
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/Matroska)
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
|
|
# Handle copyright
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE.LGPL" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|