vcpkg/ports/utf8h/portfile.cmake
Rémy Tassoux b65decc9f7
[utf8h] Update to latest commit (#12218)
This library doesn't provide official releases, therefore I'm using the latest commit.
2020-07-06 12:53:06 -07:00

12 lines
476 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO sheredom/utf8.h
REF 817789676b1c3ac9b117a0f9e04378d3e33a79be
SHA512 3e8455cbc03fa02b1f6f87832c89104510012e8dda968fd56ad5661ffb1c40498e59ea7b65f41f551233f28ee526974086efad3dd767bf944844a3ffede04e1d
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)