gpu-dawn: build.zig needs to reference thisDir for C file
This commit is contained in:
parent
d26c76b074
commit
88ee3bf668
1 changed files with 3 additions and 1 deletions
|
|
@ -503,7 +503,9 @@ fn buildLibMachDawnNative(b: *Builder, step: *std.build.LibExeObjStep, options:
|
|||
}) catch unreachable;
|
||||
}
|
||||
|
||||
lib.addCSourceFile("src/dawn/dawn_native_mach.cpp", cpp_flags.items);
|
||||
lib.addCSourceFile(std.fs.path.join(b.allocator, &.{
|
||||
thisDir(), "src/dawn/dawn_native_mach.cpp",
|
||||
}) catch unreachable, cpp_flags.items);
|
||||
return lib;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue