gpu: fix linux build

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2023-07-08 13:28:29 -07:00
parent 3df21348b6
commit 3e68b6fd87

View file

@ -41,6 +41,10 @@ pub fn build(b: *std.Build) !void {
.target = example.target,
.optimize = example.optimize,
}).artifact("vulkan-headers"));
example.linkLibrary(b.dependency("x11_headers", .{
.target = target,
.optimize = optimize,
}).artifact("x11-headers"));
b.installArtifact(example);