vcpkg/ports/utf8h/portfile.cmake
Guekka a4c65c2f71
[utf8h] Update utf8h to the latest commmit (#20863)
* [utf8h] Update to 23 august 2021

* [utf8h] Update versions database

* update utf8h to latest version

* update version

* CI

Co-authored-by: Jonliu1993 <13720414433@163.com>
2021-10-21 23:55:50 -07:00

12 lines
484 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO sheredom/utf8.h
REF 146be69f88575d753317d8ef13b16f80e0656fc7
SHA512 3ce20a440aa6c83b2079cad1385ba96688c2ae866b9dee013bc461f3ba180154231e3a18d3d020b4617b1c17b2cb36ea10c53656a48dd1294ed8324ed5b9acfb
HEAD_REF master
)
file(COPY "${SOURCE_PATH}/utf8.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include/utf8h")
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)