Skip to content

Commit

Permalink
add sokol/c directory to include path
Browse files Browse the repository at this point in the history
  • Loading branch information
nurpax committed Apr 10, 2023
1 parent c08c6ec commit a8a1a53
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ pub fn linkSokolImgui(exe: *LibExeObjStep, target: std.zig.CrossTarget) void {
const base = sokol_imgui_root_path ++ sep;
exe.addIncludePath(base ++ "zig-imgui");
exe.addIncludePath(base ++ "sokol");
exe.addIncludePath(base ++ "sokol/c");
exe.addAnonymousModule("sokol", .{ .source_file = .{
.path = base ++ "sokol/sokol.zig",
} });
Expand Down

0 comments on commit a8a1a53

Please sign in to comment.