vcpkg/ports/phnt/portfile.cmake
tiqac 6690611750
[phnt] Update to 2020-12-21 (#15722)
* [phnt] Update to 2020-12-21

* Run x-add-version

* version-string -> version-date

* Run x-add-version
2021-01-19 10:56:14 -08:00

12 lines
504 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO processhacker/phnt
REF 3f19efe9fd402378c7cd12fe1c0aacd154c8cd3c
SHA512 88f1f5ab1f2c8b3100e47f43cee7bdcb412ef9f688e3840ddc8a78d8b75b4baf714aadc27829e0ea95d97a22031019d25f9916d09bb63cea37304e9c9c08285a
HEAD_REF master
)
file(GLOB HEADER_FILES ${SOURCE_PATH}/*.h)
file(INSTALL ${HEADER_FILES} DESTINATION ${CURRENT_PACKAGES_DIR}/include)
configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)