mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-17 14:37:50 +08:00
2f3a43a8cf
- [x] Changes comply with the [maintainer guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md). - [x] SHA512s are updated for each updated download. - [x] The "supports" clause reflects platforms that may be fixed by this new version. - [x] Any fixed [CI baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt) entries are removed from that file. - [x] Any patches that are no longer applied are deleted from the port's directory. - [x] The version database is fixed by rerunning `./vcpkg x-add-version --all` and committing the result. - [x] Only one version is added to each modified port's versions file. --------- Co-authored-by: Monica <liuyumei01@beyondsoft.com>
12 lines
501 B
CMake
12 lines
501 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO winsiderss/phnt
|
|
REF 4889215a26ece2105548103adba45238fc213fa4
|
|
SHA512 6f6a8d85f321da636a6849e270dc8f23a5706154fa8c63b351ece2198cce55e5ce79d5b05289ede61ee772205f523520c7090961dbba161addd9e78578cb7816
|
|
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) |