fix zig syntax errors in examples, and make it install executables correctly (#3395)
This commit is contained in:
parent
5a0d9c8d43
commit
4981acb241
3 changed files with 22 additions and 18 deletions
|
|
@ -1,6 +1,6 @@
|
|||
const std = @import("std");
|
||||
|
||||
// This has been tested to work with zig master branch as of commit 87de821 or May 14 2023
|
||||
// This has been tested to work with zig 0.11.0 (67709b6, Aug 4 2023)
|
||||
pub fn addRaylib(b: *std.Build, target: std.zig.CrossTarget, optimize: std.builtin.OptimizeMode, options: Options) *std.Build.CompileStep {
|
||||
const raylib_flags = &[_][]const u8{
|
||||
"-std=gnu99",
|
||||
|
|
|
|||
Loading…
Reference in a new issue