Skip to content

Commit

Permalink
Respect disable-aro option in build.zig.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrp committed Jun 21, 2024
1 parent 3f03ab6 commit cbd3852
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,9 @@ pub fn build(b: *std.Build) anyerror!void {
.optimize = optimize_opt,
});

graf_mod.addImport("aro", aro_dep.module("aro"));
if (!disable_aro_opt) {
graf_mod.addImport("aro", aro_dep.module("aro"));
}

b.installDirectory(.{
.source_dir = aro_dep.path("include"),
Expand Down

0 comments on commit cbd3852

Please sign in to comment.