gpu: include system SDK for cross compilation
Fixes hexops/mach#85 Fixes hexops/mach#84 Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
cbf88d7669
commit
5db4ac5bb5
1 changed files with 1 additions and 0 deletions
|
|
@ -137,6 +137,7 @@ fn buildLibDawnNative(b: *Builder, step: *std.build.LibExeObjStep, options: Opti
|
|||
lib.setBuildMode(step.build_mode);
|
||||
lib.setTarget(step.target);
|
||||
lib.linkLibCpp();
|
||||
system_sdk.include(b, lib, .{});
|
||||
|
||||
const target = (std.zig.system.NativeTargetInfo.detect(b.allocator, step.target) catch unreachable).target;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue