File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ pub fn build(b: *std.Build) void {
7373
7474 const options_module = options_step .createModule ();
7575
76- _ = b .addModule ("root" , .{
76+ const root = b .addModule ("root" , .{
7777 .root_source_file = b .path ("src/gui.zig" ),
7878 .imports = &.{
7979 .{ .name = "zgui_options" , .module = options_module },
@@ -143,9 +143,12 @@ pub fn build(b: *std.Build) void {
143143 cimgui .addCSourceFile (.{
144144 .file = cimgui_dep .path ("cimgui.cpp" ),
145145 });
146- cimgui .installHeadersDirectory (cimgui_dep .path ("" ), "" , .{});
146+ cimgui .addIncludePath (cimgui_dep .path ("" ));
147+ root .addIncludePath (cimgui_dep .path ("" ));
147148
148- // b.installArtifact(cimgui);
149+ b .installArtifact (cimgui );
150+ b .installArtifact (imgui );
151+
149152
150153 if (options .with_freetype ) {
151154 if (b .lazyDependency ("freetype" , .{})) | freetype | {
You can’t perform that action at this time.
0 commit comments