[spirv-cross] fix lib name in debug pkgconfig file (#48995)

This commit is contained in:
Nikita
2025-12-25 07:18:06 -08:00
committed by GitHub
parent c2cc70dfe2
commit bc98625115
4 changed files with 13 additions and 1 deletions

View File

@@ -25,6 +25,12 @@ vcpkg_cmake_configure(
)
vcpkg_cmake_install()
vcpkg_copy_pdbs()
if(NOT VCPKG_BUILD_TYPE)
if(VCPKG_TARGET_IS_WINDOWS)
vcpkg_replace_string("${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/spirv-cross-c.pc" "-lspirv-cross-c" "-lspirv-cross-cd")
endif()
file(COPY "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/spirv-cross-c.pc" DESTINATION "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig")
endif()
vcpkg_fixup_pkgconfig()
foreach(COMPONENT core c cpp glsl hlsl msl reflect util)

View File

@@ -1,6 +1,7 @@
{
"name": "spirv-cross",
"version": "1.4.328.0",
"port-version": 1,
"description": "SPIRV-Cross is a practical tool and library for performing reflection on SPIR-V and disassembling SPIR-V back to high level languages.",
"homepage": "https://github.com/KhronosGroup/SPIRV-Cross",
"dependencies": [

View File

@@ -9326,7 +9326,7 @@
},
"spirv-cross": {
"baseline": "1.4.328.0",
"port-version": 0
"port-version": 1
},
"spirv-headers": {
"baseline": "1.4.328.0",

View File

@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "eebb295972969b1d22708cb78088846bc204a9ba",
"version": "1.4.328.0",
"port-version": 1
},
{
"git-tree": "5629c9d940b2cd523ed81ad587e6c8bb3e5609b4",
"version": "1.4.328.0",