mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-13 11:36:30 +08:00
2e4374cf77
Fixes #38203 Previous versions were causing SEGV while using unique handles. The last commit fixes it. - [x] Changes comply with the [maintainer guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md). - [ ] ~~SHA512s are updated for each updated download.~~ - [ ] ~~The "supports" clause reflects platforms that may be fixed by this new version.~~ - [ ] ~~Any fixed [CI baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt) entries are removed from that file.~~ - [ ] ~~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: Jon <v-zhli17@microsoft.com>
21 lines
995 B
CMake
21 lines
995 B
CMake
vcpkg_download_distfile(PATCH_39
|
|
URLS https://github.com/YaaZ/VulkanMemoryAllocator-Hpp/commit/73cdd838c425637c874d343ab0ceba5148189cbf.patch?full_index=1
|
|
SHA512 6a00c6261fbef850ba9387557d9125e4f25e136ad6e1de203dc6e98bf1ef4a52adb444d9bfb9a92aef910d4eb4eb5b7292cfbc0add19d01ee481add27393f076
|
|
FILENAME 9ebe4a22cad8a025b68a9594bdff3c047a111333.patch
|
|
)
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO YaaZ/VulkanMemoryAllocator-Hpp
|
|
REF "v3.0.1-1"
|
|
SHA512 71709a889ea4527c2ee273521fe62b61bb87cda3e3c3ae2964cc18bd70ac69629aeed00b1e92d4470ba6cb08394813880018401847a6d4ed5c15e4ee1fb60ff1
|
|
HEAD_REF master
|
|
PATCHES
|
|
"${PATCH_39}"
|
|
)
|
|
|
|
file(COPY "${SOURCE_PATH}/include/" DESTINATION "${CURRENT_PACKAGES_DIR}/include/${PORT}")
|
|
file(COPY "${CMAKE_CURRENT_LIST_DIR}/unofficial-vulkan-memory-allocator-hpp-config.cmake" DESTINATION "${CURRENT_PACKAGES_DIR}/share/unofficial-${PORT}")
|
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|