change(build): use instead of

This commit is contained in:
Ronald M Zielaznicki 2024-10-25 17:04:34 -04:00 committed by Stephen Gutekanst
parent 910e8f6e82
commit f255876823

View file

@ -312,7 +312,8 @@ fn linkCore(b: *std.Build, module: *std.Build.Module) void {
.target = target, .target = target,
.optimize = optimize, .optimize = optimize,
})) |dep| { })) |dep| {
module.linkLibrary(dep.artifact("wayland-headers")); module.addIncludePath(dep.path("wayland"));
module.addIncludePath(dep.path("wayland-protocols"));
} }
if (b.lazyDependency("x11_headers", .{ if (b.lazyDependency("x11_headers", .{
.target = target, .target = target,