don't error when gtk4 could not be found via pkg-config

This commit is contained in:
Jan200101
2025-01-03 23:12:11 +01:00
parent fa30a04f2a
commit 6fd901fd3d

View File

@ -143,7 +143,7 @@ pub fn build(b: *std.Build) !void {
break :x11 false; break :x11 false;
} }
std.log.warn("pkg-config: {s} with code {d}", .{ @tagName(term), code }); std.log.warn("pkg-config: {s} with code {d}", .{ @tagName(term), code });
return error.Unexpected; break :x11 false;
}, },
inline else => |code| { inline else => |code| {
std.log.warn("pkg-config: {s} with code {d}", .{ @tagName(term), code }); std.log.warn("pkg-config: {s} with code {d}", .{ @tagName(term), code });