vcpkg/ports/libwebm/portfile.cmake

28 lines
698 B
CMake
Raw Normal View History

2018-10-24 01:38:27 +08:00
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO webmproject/libwebm
REF libwebm-${VERSION}
SHA512 d80ecb37d21586aeff14d0282dfbcde7c71644b6952d3f32f538c6e5eb6cfe835c0eb777d5c633070d796526fbc645b70741c2278c106fb74ed0705123b9a200
2018-10-24 01:38:27 +08:00
HEAD_REF master
PATCHES
Fix-cmake.patch
2017-03-15 06:20:39 +08:00
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
${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
vcpkg_cmake_install()
2017-03-15 06:20:39 +08:00
vcpkg_copy_pdbs()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
2017-03-15 06:20:39 +08:00
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.TXT")