From 65fd067db5297b543e4de1fdee9fd98b70516a06 Mon Sep 17 00:00:00 2001 From: superp00t Date: Mon, 22 Jul 2024 17:26:08 -0400 Subject: [PATCH] fix(build): pass WHOA_BUILD_GLSDL option as C define in zig build script --- build.zig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.zig b/build.zig index 8665a26..83829df 100644 --- a/build.zig +++ b/build.zig @@ -489,6 +489,8 @@ pub fn build(b: *std.Build) void { .flags = whoa_compiler_flags }); + whoa_core.defineCMacro("WHOA_BUILD_GLSDL", "1"); + link_glsdl_dependencies(target, whoa_core); } @@ -733,6 +735,7 @@ pub fn build(b: *std.Build) void { const whoa_app_windows_sources = [_][]const u8 { "src/app/win/Whoa.cpp", + "src/app/win/Whoa.rc" }; const whoa_app_macos_sources = [_][]const u8 {