Compare commits
2 Commits
ca331c60c6
...
b879c76510
Author | SHA1 | Date |
---|---|---|
Rekai Nyangadzayi Musuka | b879c76510 | |
Rekai Nyangadzayi Musuka | 0dbba2fb9a |
|
@ -60,7 +60,9 @@ pub fn build(b: *std.build.Builder) void {
|
||||||
exe.addModule("sdl2", sdk.getNativeModule());
|
exe.addModule("sdl2", sdk.getNativeModule());
|
||||||
|
|
||||||
// Dear ImGui bindings
|
// Dear ImGui bindings
|
||||||
const zgui_pkg = zgui.package(b, target, optimize, .{ .options = .{ .backend = .sdl2_opengl3 } });
|
|
||||||
|
// .shared option should stay in sync with SDL.zig call above where true == .dynamic, and false == .static
|
||||||
|
const zgui_pkg = zgui.package(b, target, optimize, .{ .options = .{ .backend = .sdl2_opengl3, .shared = true } });
|
||||||
zgui_pkg.link(exe);
|
zgui_pkg.link(exe);
|
||||||
|
|
||||||
exe.install();
|
exe.install();
|
||||||
|
|
2
lib/zgui
2
lib/zgui
|
@ -1 +1 @@
|
||||||
Subproject commit 70d7c0dc02484de5226e8fe0f1284ac781826252
|
Subproject commit 5b2b64a9dedd91f0cbf69ccb7a0a5ebf1fdf1691
|
Loading…
Reference in New Issue