vcpkg/ports/fakeit/portfile.cmake
JonLiu1993 48211249f7
[FakeIt] update to 2.0.9 (#20893)
* [FakeIt] update to 2.0.9

* update version
2021-10-21 23:48:04 -07:00

12 lines
494 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO eranpeer/FakeIt
REF 514ca290b78d15f4fb46e1696f47189cf2524376 #v2.0.9
SHA512 679808f5f7e036bdb465a4a8ded79e539e4d9992f27e87de1a23be221bc983146183c26087f16a8c7dafab58e337a050b78402c23189ce02cad0afc7ab7718b5
HEAD_REF master
)
file(COPY "${SOURCE_PATH}/single_header/" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)