mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 01:59:00 +08:00
[vk-bootstrap] Fix usage (#37725)
This commit is contained in:
parent
4fb554aa83
commit
0b1d7c19e1
13
ports/vk-bootstrap/fix-targets.patch
Normal file
13
ports/vk-bootstrap/fix-targets.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 43bc5cd..7d626fb 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -137,7 +137,7 @@ if (VK_BOOTSTRAP_INSTALL)
|
||||
message(FATAL_ERROR "Unable to locate required dependency Vulkan::Headers!")
|
||||
endif()
|
||||
endif()
|
||||
- include(@PACKAGE_VK_BOOTSTRAP_EXPORT_TARGETS@)
|
||||
+ include("${CMAKE_CURRENT_LIST_DIR}/vk-bootstrap-targets.cmake")
|
||||
]=])
|
||||
|
||||
configure_package_config_file(
|
@ -8,6 +8,8 @@ vcpkg_from_github(
|
||||
REF "v${VERSION}"
|
||||
SHA512 f925665b1d7a1c5069ca2cb6786f537bcc4b3060757db50d931091dc37ff4ef3b73b1b3adf0da84c256979fd780a2f6203de3299f634292600dcee925b9a5091
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
fix-targets.patch
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "vk-bootstrap",
|
||||
"version": "1.3.279",
|
||||
"port-version": 1,
|
||||
"description": "Vulkan bootstraping library",
|
||||
"homepage": "https://github.com/charles-lunarg/vk-bootstrap",
|
||||
"license": "MIT",
|
||||
|
@ -9098,7 +9098,7 @@
|
||||
},
|
||||
"vk-bootstrap": {
|
||||
"baseline": "1.3.279",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"vkfft": {
|
||||
"baseline": "1.2.31",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "33aa9fad865d5e7536507780f794845077d75a9c",
|
||||
"version": "1.3.279",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "21ca238dc37af23280c0bc7755bfbb7055057188",
|
||||
"version": "1.3.279",
|
||||
|
Loading…
Reference in New Issue
Block a user