Add include paths to more modules in pkg/

This commit is contained in:
Krzysztof Wolicki
2024-01-07 19:07:16 +01:00
parent 6c7c5eecce
commit ddebb31b8a
5 changed files with 17 additions and 11 deletions

View File

@@ -1,5 +1,6 @@
const std = @import("std");
pub fn build(b: *std.Build) !void {
_ = b.addModule("opengl", .{ .root_source_file = .{ .path = "main.zig" } });
const module = b.addModule("opengl", .{ .root_source_file = .{ .path = "main.zig" } });
module.addIncludePath(.{ .path = "../../vendor/glad/include" });
}