chore: update nfd-zig

respond to build.zig changes in zig master
This commit is contained in:
Rekai Nyangadzayi Musuka 2023-02-04 19:13:46 -06:00
parent 1a794d0bd4
commit cef2c83485
2 changed files with 2 additions and 3 deletions

View File

@ -44,7 +44,7 @@ pub fn build(b: *std.build.Builder) void {
exe.addAnonymousModule("gl", .{ .source_file = .{ .path = "lib/gl.zig" } }); exe.addAnonymousModule("gl", .{ .source_file = .{ .path = "lib/gl.zig" } });
// NativeFileDialog(ue) Bindings // NativeFileDialog(ue) Bindings
exe.linkLibrary(nfd.makeLib(b, mode, target)); exe.linkLibrary(nfd.makeLib(b, target, optimize));
exe.addPackage(nfd.getPackage("nfd")); exe.addPackage(nfd.getPackage("nfd"));
// Zig SDL Bindings: https://github.com/MasterQ32/SDL.zig // Zig SDL Bindings: https://github.com/MasterQ32/SDL.zig
@ -58,7 +58,6 @@ pub fn build(b: *std.build.Builder) void {
zgui.link(exe, zgui_options); zgui.link(exe, zgui_options);
exe.addPackage(zgui_pkg); exe.addPackage(zgui_pkg);
exe.setBuildMode(mode);
exe.install(); exe.install();
const run_cmd = exe.run(); const run_cmd = exe.run();

@ -1 +1 @@
Subproject commit 75acefd571ede5361514b3a8ae9c8b36c6908d36 Subproject commit b8d56260294636f9d7bf596cb558b697e873793f