Add include paths to more modules in pkg/

This commit is contained in:
Krzysztof Wolicki
2024-01-07 19:07:16 +01:00
parent 6c7c5eecce
commit ddebb31b8a
5 changed files with 17 additions and 11 deletions

View File

@@ -36,6 +36,7 @@ pub fn build(b: *std.Build) !void {
const freetype_dep = b.dependency("freetype", .{ .target = target, .optimize = optimize });
lib.linkLibrary(freetype_dep.artifact("freetype"));
module.addIncludePath(freetype_dep.builder.dependency("freetype", .{}).path("include"));
var flags = std.ArrayList([]const u8).init(b.allocator);
defer flags.deinit();