Fix building without X11

Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
AnErrupTion committed 2026-05-03 20:05:44 +02:00
1 parent 864f5f2892
commit 4db9295102
3 files changed
+15 -3

No files matched your search

+5 -1
View File
@@ -72,7 +72,11 @@ pub fn build(b: *std.Build) !void {
.use_llvm = true,
});
const ly_ui = b.dependency("ly_ui", .{ .target = target, .optimize = optimize });
const ly_ui = b.dependency("ly_ui", .{
.target = target,
.optimize = optimize,
.enable_x11_support = enable_x11_support,
});
exe.root_module.addImport("ly-ui", ly_ui.module("ly-ui"));
exe.root_module.addOptions("build_options", build_options);