pkg/spirv-cross: correct c header

This commit is contained in:
Mitchell Hashimoto
2023-11-15 22:43:07 -08:00
parent 291ca16c20
commit 3a4aef2dcd
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ fn buildSpirvCross(
});
lib.installHeadersDirectoryOptions(.{
.source_dir = upstream.path("include"),
.source_dir = upstream.path(""),
.install_dir = .header,
.install_subdir = "",
.include_extensions = &.{".h"},

View File

@ -1,3 +1,3 @@
pub usingnamespace @cImport({
@cInclude("spirv_cross/external_interface.h");
@cInclude("spirv_cross_c.h");
});