gpu-dawn: update build.zig to build latest version of Dawn
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
55cac7efee
commit
70ee58c904
1 changed files with 5 additions and 1 deletions
|
|
@ -524,7 +524,11 @@ fn buildLibDawnCommon(b: *Builder, step: *std.build.LibExeObjStep, options: Opti
|
|||
};
|
||||
|
||||
var flags = std.ArrayList([]const u8).init(b.allocator);
|
||||
flags.append(include("libs/dawn/src")) catch unreachable;
|
||||
flags.appendSlice(&.{
|
||||
include("libs/dawn/src"),
|
||||
include("libs/dawn/out/Debug/gen/include"),
|
||||
include("libs/dawn/out/Debug/gen/src"),
|
||||
}) catch unreachable;
|
||||
appendLangScannedSources(b, lib, options, .{
|
||||
.rel_dirs = &.{"libs/dawn/src/dawn/common/"},
|
||||
.flags = flags.items,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue