mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-04-07 05:46:09 +03:00
fix(build): pass WHOA_BUILD_GLSDL option as C define in zig build script
This commit is contained in:
parent
422a36cd93
commit
65fd067db5
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user