vcpkg/ports/cub/portfile.cmake
JonLiu1993 bb0b48e4ce
[cub] update to 1.12.0 (#17355)
* [cub] update to 1.12.0

* update version
2021-04-23 15:26:16 -07:00

12 lines
472 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO NVlabs/cub
REF 7cdf6dfc7ed60e4f44d025b84ea8260755f298e6 #v1.12.0
SHA512 aff3ba375a33844efdc57f8ba190e8880db6247bc1245340b2fe87f8933d3abfcbc7dcdffffd45cf00db4981cd2e37029061fca7161554a4c7c779a7d414aada
HEAD_REF master
)
file(COPY ${SOURCE_PATH}/cub/ DESTINATION ${CURRENT_PACKAGES_DIR}/include/cub)
configure_file(${SOURCE_PATH}/LICENSE.TXT ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)