Fix: Readme, deprecated function (#308)
Fix: changed use of deprecated linkLibrary
This commit is contained in:
parent
81c58a3d44
commit
2aa29994f9
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue