vcpkg/ports/vulkan-memory-allocator/portfile.cmake
Juan Ramos fba81a6a54
[vulkan-memory-allocator] Update port to current ToT (#32513)
* [vulkan-memory-allocator] Update VMA port to current ToT

Contains fixes for gcc13 and adds streamlined CMake support.

See this PR for the recent CMake fixes:
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator/pull/350

* Update version database

* Fix typo in usage, dedupe cmake.org link, move up 3.21+, remove extra newline.

---------

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2023-07-14 22:01:41 -07:00

14 lines
619 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
REF 2a28bc4b39b9b80dad909036442f629f570d7ae1
SHA512 cd83efc357171a5fd1ac65a566d1bf828f7de2b4c97adec92aaaf9cdfedf5a5525de3bd6eb84c453d1cd952c10c3542e6502ad4307a55b61690ce92b80dc4e2f
HEAD_REF master
)
set(VCPKG_BUILD_TYPE release) # header-only port
vcpkg_cmake_configure(SOURCE_PATH "${SOURCE_PATH}")
vcpkg_cmake_install()
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")