This commit is contained in:
Vicente Ferrari Smith 2026-01-20 23:57:50 +01:00
parent 6c575dc997
commit e1082f25cb

View File

@ -93,8 +93,8 @@ pub fn build(b: *std.Build) void {
} }
client.root_module.addImport("freetype", freetype_module); client.root_module.addImport("freetype", freetype_module);
client.root_module.addCSourceFile(.{ .file = b.path("src/kb/kb_text_shape.h"), .language = .c, .flags = &.{"-DKB_TEXT_SHAPE_IMPLEMENTATION"} });
client.root_module.addCSourceFile(.{ .file = b.path("src/kb/kb_text_shape.h"), .language = .c, .flags = &.{"-DKB_TEXT_SHAPE_IMPLEMENTATION"} });
const kb_text_shape = b.addTranslateC(.{ const kb_text_shape = b.addTranslateC(.{
.root_source_file = b.path("src/kb/kb_text_shape.h"), .root_source_file = b.path("src/kb/kb_text_shape.h"),
.target = target, .target = target,