vcpkg/ports/cr/portfile.cmake
Leonid Pospelov 4d29869e71
[cr] Add new port (#11841)
* [cr] Add new port

* Update ports/cr/portfile.cmake

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2020-06-10 17:53:22 -07:00

16 lines
506 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO fungos/cr
REF 66b76e24611c3b87566e5365e8c422387bc85916
SHA512 002162461ecf131d717f7567cf13ee1345b7b359bb17c0801f4246c472c1b180f4f8937e9a3f4c186d95c41c20ffcc5ba5e953f197f344fb1000f51d8c4ee473
HEAD_REF master
)
file(
COPY ${SOURCE_PATH}/cr.h
DESTINATION ${CURRENT_PACKAGES_DIR}/include
)
# Handle copyright
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)