2018-10-17 01:05:57 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
|
2023-02-01 08:28:39 +08:00
|
|
|
REF a6bfc237255a6bac1513f7c1ebde6d8aed6b5191 #v3.0.1
|
|
|
|
SHA512 14361ff201fd660c22b60de54c648ff20a2e2a7f65105f66853a9a4dbffbeca2ae42098dcb1528bb4e524639b92fa4ff27ebd3940c42ccfaf7c99c08bdd0d8ce
|
2018-10-17 01:05:57 +08:00
|
|
|
HEAD_REF master
|
2023-06-13 07:44:41 +08:00
|
|
|
PATCHES
|
|
|
|
gcc13.patch # https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator/commit/29d492b60c84ca784ea0943efc7d2e6e0f3bdaac
|
2018-10-17 01:05:57 +08:00
|
|
|
)
|
|
|
|
|
2021-07-23 05:25:45 +08:00
|
|
|
file(COPY "${SOURCE_PATH}/include/vk_mem_alloc.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
|
2018-10-17 01:05:57 +08:00
|
|
|
|
2022-03-30 08:25:46 +08:00
|
|
|
file(COPY "${CMAKE_CURRENT_LIST_DIR}/unofficial-vulkan-memory-allocator-config.cmake" DESTINATION "${CURRENT_PACKAGES_DIR}/share/unofficial-vulkan-memory-allocator")
|
2018-10-17 01:05:57 +08:00
|
|
|
|
2022-03-30 08:25:46 +08:00
|
|
|
configure_file("${SOURCE_PATH}/LICENSE.txt" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY)
|