Skip to content

Commit

Permalink
core: add x11 headers
Browse files Browse the repository at this point in the history
  • Loading branch information
joshua-holmes authored and slimsag committed Sep 17, 2024
1 parent 36280a0 commit f7e5ca8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,12 @@ pub fn build(b: *std.Build) !void {
lib.linkLibrary(dep.artifact("wayland-headers"));
module.linkLibrary(dep.artifact("wayland-headers"));
}
if (b.lazyDependency("x11_headers", .{
.target = target,
.optimize = optimize,
})) |dep| {
module.linkLibrary(dep.artifact("x11-headers"));
}
}
if (target.result.isDarwin()) {
if (b.lazyDependency("mach_objc", .{
Expand Down

0 comments on commit f7e5ca8

Please sign in to comment.