vcpkg/ports/picosha2/portfile.cmake

12 lines
500 B
CMake
Raw Normal View History

2017-09-03 11:28:16 +08:00
include(vcpkg_common_functions)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO okdshin/PicoSHA2
2018-06-16 13:16:58 +08:00
REF 0c1fb895e745f386e919740700e1f5c2340f0cf5
SHA512 6105e9d276d8e2ce9cade3955eaa27fe9a17b9af18031f656baf724c7e4d903b17feb731e6ca29e567f60473c366745937b4bc89562dc4500b329a0a7acf5268
2017-09-03 11:28:16 +08: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)