yuzu/externals/vcpkg/ports/picosha2/portfile.cmake

11 lines
468 B
CMake
Raw Normal View History

2022-07-23 05:01:36 +04:00
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO okdshin/PicoSHA2
REF b699e6c900be6e00152db5a3d123c1db42ea13d0
SHA512 5972dfe7675c560a0c58491e72938e8e5ea46eabb2e2f564086001eda21b237035aa0deef94bb36a21154a4b5cbc160b9b0f6b5988f6580d693ad74cfbc53bb5
HEAD_REF master
)
file(INSTALL ${SOURCE_PATH}/picosha2.h DESTINATION ${CURRENT_PACKAGES_DIR}/include)
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/picosha2 RENAME copyright)