mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 00:37:49 +08:00
50bffcc62d
* Install vulkan. * add gfxreconstruct * format manifest and cr changes * remove moltenvk * fix ci part 1 * fix a dep * more fixes * remove vulkan failures from CI pipeline * remove annoying stuff to deal with in static builds * fix trailing , * remove vendored cmakelists * force ci to be green * format manifest * Fix more ci issues * fix hikogui * make ci happier * add jsoncpp dep * only remove the debug folder if targeting windows * bump port-version * v db * vulkan-loader add usage * Rename vulkantools to lunarg-vulkantools * Make VMA install headers platform dependent * Remove vcpkg_check_linkage * readd vulkan-validationlayers * v db
23 lines
775 B
CMake
23 lines
775 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
|
|
REF 2a28bc4b39b9b80dad909036442f629f570d7ae1
|
|
SHA512 cd83efc357171a5fd1ac65a566d1bf828f7de2b4c97adec92aaaf9cdfedf5a5525de3bd6eb84c453d1cd952c10c3542e6502ad4307a55b61690ce92b80dc4e2f
|
|
HEAD_REF master
|
|
)
|
|
|
|
set(opts "")
|
|
if(VCPKG_TARGET_IS_WINDOWS)
|
|
set(opts "-DCMAKE_INSTALL_INCLUDEDIR=include/vma") # Vulkan SDK layout!
|
|
endif()
|
|
|
|
set(VCPKG_BUILD_TYPE release) # header-only port
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS ${opts}
|
|
|
|
)
|
|
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}")
|