diff --git a/build.zig b/build.zig index b5e465c..d9e8a86 100644 --- a/build.zig +++ b/build.zig @@ -62,7 +62,7 @@ pub fn build(b: *std.Build) void { }, .freebsd => { staticLib.addCSourceFile(.{ .file = .{ .path = "external/webview/webview.cc"}, .flags = &.{"-std=c++11"}}); - staticLib.addIncludePath(.{ .path = "/usr/local/include/"}); + staticLib.addIncludePath(.{ .path = "/usr/local/include/cairo/"}); staticLib.addIncludePath(.{ .path = "/usr/local/include/gtk-3.0/"}); staticLib.addIncludePath(.{ .path = "/usr/local/include/glib-2.0/"}); staticLib.addIncludePath(.{ .path = "/usr/local/lib/glib-2.0/include/"}); @@ -104,7 +104,7 @@ pub fn build(b: *std.Build) void { }, .freebsd => { sharedLib.addCSourceFile(.{ .file = .{ .path = "external/webview/webview.cc"}, .flags = &.{"-std=c++11"}}); - sharedLib.addIncludePath(.{ .path = "/usr/local/include/"}); + sharedLib.addIncludePath(.{ .path = "/usr/local/include/cairo/"}); sharedLib.addIncludePath(.{ .path = "/usr/local/include/gtk-3.0/"}); sharedLib.addIncludePath(.{ .path = "/usr/local/include/glib-2.0/"}); sharedLib.addIncludePath(.{ .path = "/usr/local/lib/glib-2.0/include/"});