ci: uhhhhhh????
This commit is contained in:
parent
d79cee7e2b
commit
8629429f52
|
@ -39,14 +39,14 @@ pub fn build(b: *std.Build) void {
|
|||
|
||||
// https://github.com/MasterQ32/SDL.zig
|
||||
const sdk = Sdk.init(b, null);
|
||||
sdk.link(exe, .static);
|
||||
sdk.link(exe, .dynamic);
|
||||
exe.root_module.addImport("sdl2", sdk.getNativeModule());
|
||||
|
||||
// https://git.musuka.dev/paoda/zgui
|
||||
// .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 } });
|
||||
zgui_pkg.link(exe);
|
||||
sdk.link(zgui_pkg.zgui_c_cpp, .static);
|
||||
sdk.link(zgui_pkg.zgui_c_cpp, .dynamic);
|
||||
|
||||
b.installArtifact(exe);
|
||||
|
||||
|
|
Loading…
Reference in New Issue