vcpkg/ports/picosha2/portfile.cmake

12 lines
500 B
CMake
Raw Normal View History

2017-09-02 20:28:16 -07:00
include(vcpkg_common_functions)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO okdshin/PicoSHA2
2018-07-31 17:03:35 -07:00
REF b699e6c900be6e00152db5a3d123c1db42ea13d0
SHA512 5972dfe7675c560a0c58491e72938e8e5ea46eabb2e2f564086001eda21b237035aa0deef94bb36a21154a4b5cbc160b9b0f6b5988f6580d693ad74cfbc53bb5
2017-09-02 20:28:16 -07:00
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)