vcpkg/ports/libass/portfile.cmake
Corbin 531515c4ca [libass] Adding new port (#5026)
Added libass control/portfile for vcpkg as requested here:
https://github.com/Microsoft/vcpkg/issues/4678
2019-01-14 14:02:47 -08:00

15 lines
543 B
CMake

#header-only library
include(vcpkg_common_functions)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO libass/libass
REF 98727c3b78f44cb3bbc955fcf5d977ebd911d5ca
SHA512 d466108180cea598b817f89aa21a1021ed2a763580d9aad51b054aa120186af48ab4264907e49ddcb38479a28d87d5431751a28afee9cb83ad7623f002d99c57
HEAD_REF master
)
file(INSTALL ${SOURCE_PATH}/libass/ DESTINATION ${CURRENT_PACKAGES_DIR}/include)
# Handle copyright
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/libass RENAME copyright)