Zig 0.14: b.dependency now returns a Dependency

This commit is contained in:
LN Liberda
2025-03-10 02:47:45 +01:00
parent b63e522f6f
commit 25a68b2296

View File

@ -470,7 +470,7 @@ pub fn add(
}
if (self.config.wayland) {
const scanner = Scanner.create(b.dependency("zig_wayland", .{}), .{
const scanner = Scanner.create(b.dependency("zig_wayland", .{}).builder, .{
.wayland_xml = b.dependency("wayland", .{}).path("protocol/wayland.xml"),
.wayland_protocols = b.dependency("wayland_protocols", .{}).path(""),
});