omg lua in mez

This commit is contained in:
Squibid 2025-10-20 18:28:40 -04:00
parent f9e67a5681
commit ba4d403119
Signed by: squibid
GPG key ID: BECE5684D3C4005D
3 changed files with 14 additions and 0 deletions

View file

@ -31,6 +31,7 @@ pub fn build(b: *std.Build) void {
const xkbcommon = b.dependency("xkbcommon", .{}).module("xkbcommon");
const pixman = b.dependency("pixman", .{}).module("pixman");
const wlroots = b.dependency("wlroots", .{}).module("wlroots");
const zlua = b.dependency("zlua", .{}).module("zlua");
wlroots.addImport("wayland", wayland);
wlroots.addImport("xkbcommon", xkbcommon);
@ -53,6 +54,7 @@ pub fn build(b: *std.Build) void {
mez.root_module.addImport("wayland", wayland);
mez.root_module.addImport("xkbcommon", xkbcommon);
mez.root_module.addImport("wlroots", wlroots);
mez.root_module.addImport("zlua", zlua);
mez.linkSystemLibrary("wayland-server");
mez.linkSystemLibrary("xkbcommon");