mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 03:02:30 +00:00
fix(build): pass WHOA_BUILD_GLSDL option as C define in zig build script
This commit is contained in:
parent
422a36cd93
commit
65fd067db5
1 changed files with 3 additions and 0 deletions
|
|
@ -489,6 +489,8 @@ pub fn build(b: *std.Build) void {
|
||||||
.flags = whoa_compiler_flags
|
.flags = whoa_compiler_flags
|
||||||
});
|
});
|
||||||
|
|
||||||
|
whoa_core.defineCMacro("WHOA_BUILD_GLSDL", "1");
|
||||||
|
|
||||||
link_glsdl_dependencies(target, whoa_core);
|
link_glsdl_dependencies(target, whoa_core);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -733,6 +735,7 @@ pub fn build(b: *std.Build) void {
|
||||||
|
|
||||||
const whoa_app_windows_sources = [_][]const u8 {
|
const whoa_app_windows_sources = [_][]const u8 {
|
||||||
"src/app/win/Whoa.cpp",
|
"src/app/win/Whoa.cpp",
|
||||||
|
"src/app/win/Whoa.rc"
|
||||||
};
|
};
|
||||||
|
|
||||||
const whoa_app_macos_sources = [_][]const u8 {
|
const whoa_app_macos_sources = [_][]const u8 {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue