2018-10-24 01:38:27 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO webmproject/libwebm
|
2024-08-13 07:43:48 +08:00
|
|
|
REF libwebm-${VERSION}
|
|
|
|
SHA512 d80ecb37d21586aeff14d0282dfbcde7c71644b6952d3f32f538c6e5eb6cfe835c0eb777d5c633070d796526fbc645b70741c2278c106fb74ed0705123b9a200
|
2018-10-24 01:38:27 +08:00
|
|
|
HEAD_REF master
|
|
|
|
PATCHES
|
2021-11-06 05:27:59 +08:00
|
|
|
Fix-cmake.patch
|
2017-03-15 06:20:39 +08:00
|
|
|
)
|
|
|
|
|
2021-11-06 05:27:59 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
|
|
OPTIONS
|
2024-08-13 07:43:48 +08:00
|
|
|
${LIBWEBM_CRT_LINKAGE}
|
|
|
|
-DENABLE_SAMPLE_PROGRAMS=OFF
|
|
|
|
-DENABLE_TESTS=OFF
|
|
|
|
-DENABLE_WEBMTS=OFF
|
|
|
|
-DENABLE_WEBMINFO=OFF
|
2018-10-24 01:38:27 +08:00
|
|
|
)
|
2017-03-15 06:20:39 +08:00
|
|
|
|
2021-11-06 05:27:59 +08:00
|
|
|
vcpkg_cmake_install()
|
2019-03-05 15:52:07 +08:00
|
|
|
|
2017-03-15 06:20:39 +08:00
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
|
2021-11-06 05:27:59 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
2017-03-15 06:20:39 +08:00
|
|
|
|
2024-08-13 07:43:48 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.TXT")
|