mirror of
https://github.com/raylib-zig/raylib-zig.git
synced 2026-02-21 16:54:36 +00:00
Fix: Readme, deprecated function (#308)
Fix: changed use of deprecated linkLibrary
This commit is contained in:
parent
81c58a3d44
commit
2aa29994f9
@ -83,7 +83,7 @@ const raylib_artifact = raylib_dep.artifact("raylib"); // raylib C library
|
||||
Now add the modules and artifact to your target as you would normally:
|
||||
|
||||
```zig
|
||||
exe.linkLibrary(raylib_artifact);
|
||||
exe.root_module.linkLibrary(raylib_artifact);
|
||||
exe.root_module.addImport("raylib", raylib);
|
||||
exe.root_module.addImport("raygui", raygui);
|
||||
```
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user