diff --git a/build.zig b/build.zig index 324128c..d66cb62 100644 --- a/build.zig +++ b/build.zig @@ -44,7 +44,7 @@ pub fn build(b: *std.build.Builder) void { exe.addAnonymousModule("gl", .{ .source_file = .{ .path = "lib/gl.zig" } }); // NativeFileDialog(ue) Bindings - exe.linkLibrary(nfd.makeLib(b, mode, target)); + exe.linkLibrary(nfd.makeLib(b, target, optimize)); exe.addPackage(nfd.getPackage("nfd")); // 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); exe.addPackage(zgui_pkg); - exe.setBuildMode(mode); exe.install(); const run_cmd = exe.run(); diff --git a/lib/nfd-zig b/lib/nfd-zig index 75acefd..b8d5626 160000 --- a/lib/nfd-zig +++ b/lib/nfd-zig @@ -1 +1 @@ -Subproject commit 75acefd571ede5361514b3a8ae9c8b36c6908d36 +Subproject commit b8d56260294636f9d7bf596cb558b697e873793f