Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ pub fn build(b: *Build) !void {
// Parse command-line options or use defaults
const isStatic = b.option(bool, "is_static", "whether lib is static") orelse default_isStatic;
const enableTLS = b.option(bool, "enable_tls", "whether lib enable tls") orelse default_enableTLS;
const enableWebUILog = b.option(bool, "enable_webui_log", "whether lib enable tls") orelse default_enableTLS;

// Standard build options for target and optimization
const target = b.standardTargetOptions(.{});
Expand Down Expand Up @@ -61,6 +62,7 @@ pub fn build(b: *Build) !void {
.optimize = optimize,
.dynamic = !isStatic,
.@"enable-tls" = enableTLS,
.@"enable-webui-log" = enableWebUILog,
.verbose = .err,
});

Expand Down Expand Up @@ -183,4 +185,3 @@ fn build_examples(b: *Build, optimize: OptimizeMode, target: Build.ResolvedTarge
exe_run_step.dependOn(&exe_run.step);
}
}

4 changes: 2 additions & 2 deletions build.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
.minimum_zig_version = "0.14.0",
.dependencies = .{
.webui = .{
.hash = "webui-2.5.0-beta.4-pxqD5esSNwCHzwq6ndnW-ShzC_nPNAzGu13l4Unk0rFl",
.url = "https://github.com/webui-dev/webui/archive/699119f42fc64ae42c9121bc4749b740f71949af.tar.gz",
.hash = "webui-2.5.0-beta.4-pxqD5QAmNwAUkhlNaFFeFo6OKYi2XRnQZWTtBLS3T0_a",
.url = "https://github.com/webui-dev/webui/archive/8435c62fa8b780642dd6d2fe7bfed6de0637d72f.tar.gz",
},
},
.paths = .{
Expand Down
Loading