We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8d1ade commit a4e2fe3Copy full SHA for a4e2fe3
1 file changed
README.md
@@ -15,18 +15,9 @@ zig fetch --save=SDL git+https://github.com/allyourcodebase/SDL
15
16
Add this to your `build.zig` :
17
```zig
18
-pub fn build(b: *std.Build) void {
19
-// ...
20
-
21
const sdl_dep = b.dependency("SDL", .{
22
.optimize = .ReleaseFast,
23
.target = target,
24
});
25
26
27
28
exe.linkLibrary(sdl_dep.artifact("SDL2"));
29
30
31
-}
32
```
0 commit comments