mach: build: disable gkurve example of wasm as freetype cant be compiled for
freestanding targets
This commit is contained in:
parent
ff126c0054
commit
b57fe9a420
1 changed files with 2 additions and 2 deletions
|
|
@ -39,7 +39,7 @@ pub fn build(b: *std.build.Builder) void {
|
|||
.{ .name = "instanced-cube", .packages = &[_]Pkg{Packages.zmath} },
|
||||
.{ .name = "advanced-gen-texture-light", .packages = &[_]Pkg{Packages.zmath} },
|
||||
.{ .name = "fractal-cube", .packages = &[_]Pkg{Packages.zmath} },
|
||||
.{ .name = "gkurve", .packages = &[_]Pkg{ Packages.zmath, Packages.zigimg, freetype.pkg } },
|
||||
.{ .name = "gkurve", .packages = &[_]Pkg{ Packages.zmath, Packages.zigimg, freetype.pkg }, .std_platform_only = true },
|
||||
.{ .name = "textured-cube", .packages = &[_]Pkg{ Packages.zmath, Packages.zigimg } },
|
||||
}) |example| {
|
||||
// FIXME: this is workaround for a problem that some examples (having the std_platform_only=true field) as
|
||||
|
|
@ -64,7 +64,7 @@ pub fn build(b: *std.build.Builder) void {
|
|||
if (std.mem.eql(u8, p.name, freetype.pkg.name))
|
||||
freetype.link(example_app.b, example_app.step, .{});
|
||||
}
|
||||
|
||||
|
||||
example_app.link(options);
|
||||
example_app.install();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue