Skip to content

Commit

Permalink
let libimgui depend on cimgui file copy step
Browse files Browse the repository at this point in the history
  • Loading branch information
floooh committed Sep 10, 2024
1 parent aee83e6 commit 2f604a9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -860,6 +860,10 @@ fn buildImgui(b: *Build, options: libImGuiOptions) !*CompileStep {
.target = options.target,
.optimize = options.optimize,
});

// libimgui compilation depends on file tree
libimgui.step.dependOn(&wf.step);

if (libimgui.linkage == .static)
libimgui.pie = true
else if (libimgui.linkage == .static)
Expand Down

0 comments on commit 2f604a9

Please sign in to comment.